Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source control does not recognise paths with spaces in it #31

Closed
ghost opened this issue Feb 11, 2021 · 3 comments
Closed

Source control does not recognise paths with spaces in it #31

ghost opened this issue Feb 11, 2021 · 3 comments
Labels
bug Something isn't working git

Comments

@ghost
Copy link

ghost commented Feb 11, 2021

I cloned a Gitlab repo of mine, and made some changes in a file and saved. I cannot stage the changes I made to this file. Going to the Source control tab only shows the "Changes" section. Tapping (or clicking with mouse) on the "+" button on the file does not do anything. Tapping the filename itself prints out a "This change is not indexed" popup in the bottom right corner.

I have attached some screenshots of what's happening.

24BEF64F-031F-42AC-B6FB-698192530F0D

@ghost
Copy link
Author

ghost commented Feb 11, 2021

I just noticed something. Staging changes in the root directory works. For example, if I modify projectfolder/index.md, I can stage and commit that change. But if I try to modify and stage projectfolder/subfolder/anotherfile.md, then I get the "The requested file is not indexed" popup.

@ghost
Copy link
Author

ghost commented Feb 11, 2021

Okay, I think I finally figured out what's happening. The problem is that the subfolder was called "Command line course" (with spaces). Changing the name to "command_line_course" in the original repo and re-cloning it to codeapp lets me stage, commit and push.

@bummoblizard bummoblizard added the bug Something isn't working label Feb 11, 2021
@bummoblizard
Copy link
Member

bummoblizard commented Feb 11, 2021

Thanks for the investigation! I can confirm this issue, folders with spaces in their name do not work properly. This is a bug of the app.

@bummoblizard bummoblizard changed the title Cannot stage changes on Gitlab repo - requested file not indexed Source control does not recognise paths with spaces in it Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working git
Projects
None yet
Development

No branches or pull requests

1 participant