codeapp icon indicating copy to clipboard operation
codeapp copied to clipboard

Git: Cannot stage or reverse changes

Open cschoenecker opened this issue 3 years ago • 8 comments

Hi, currently (version 1.2.13 build 46) git does not work for committing changes or doing a reverse. when you press reverse a message 'The requested file is not indexed and cannot be found on disk' when you press 'Add' nothing happens

IMG_0003

cschoenecker avatar Apr 25 '22 15:04 cschoenecker

Hi! Thank you for reaching out. If possible, can you send me the folder containing the project, or a sample project where I can reproduce this problem?

You can send the zip file to [email protected].

bummoblizard avatar Apr 25 '22 15:04 bummoblizard

Same folder work fine with other git app (Working copy). Folder is stored 'On my iPad' (iPad Air 5, latest iOS)

I can't send this folder because its a confidential client project. Maybe I can try te reproduce this bug with an new empty project.

For information it's a cloning existing repos from bitbucket.org

cschoenecker avatar Apr 25 '22 15:04 cschoenecker

Thanks for the information. I will try to figure out what happened.

bummoblizard avatar Apr 25 '22 15:04 bummoblizard

Same bug if a create an new folder 'In my iPad', initialize as git (inside Code App), create an new file (HTML) and try to stage the new file (all in local without remote Git repo) Test.zip

cschoenecker avatar Apr 25 '22 15:04 cschoenecker

It seems like when the root directory contains a space character git cannot read the files properly. @cschoenecker Can you confirm this?

bummoblizard avatar Apr 25 '22 16:04 bummoblizard

It seems like when the root directory contains a space character git cannot read the files properly. @cschoenecker Can you confirm this?

Nop because I try with a new folder “Test” (see previous attachment), initialize as Git repo, with just a html file inside and I have the same bug.

cschoenecker avatar Apr 25 '22 16:04 cschoenecker

It seems like when the root directory contains a space character git cannot read the files properly. @cschoenecker Can you confirm this?

Nop because I try with a new folder “Test” (see previous attachment), initialize as Git repo, with just a html file inside and I have the same bug.

Got it. I'll try to figure out what happened.

bummoblizard avatar Apr 25 '22 16:04 bummoblizard

@bummoblizard Here is a short test case :

https://user-images.githubusercontent.com/21053090/165307322-d8924321-ab99-4bfb-bb7b-2b8a2a2202fd.mp4

cschoenecker avatar Apr 26 '22 13:04 cschoenecker