git-autofixup icon indicating copy to clipboard operation
git-autofixup copied to clipboard

Does not seem to handle filenames with spaces

Open 0x326 opened this issue 3 years ago • 1 comments

➜  repo git:(foo) ✗ git status                  
On branch foo                                            
Your branch is ahead of 'origin/foo' by 6 commits.       
  (use "git push" to publish your local commits)                                        
                                                                                        
Changes not staged for commit:                                                          
  (use "git add <file>..." to update what will be committed)                            
  (use "git restore <file>..." to discard changes in working directory)                 
        modified:   .gitignore                                                          
        modified:   README.md                                                           
        modified:   src/AppSettings/Entities/AppSetting.vb                              
        modified:   src/AppSettings/My Project/Application.myapp                        
        modified:   src/AppSettings/My Project/AssemblyInfo.vb                          
        modified:   src/AppSettings/My Project/Settings.settings                        

➜  repo git:(foo) ✗ git autofixup origin/foo
fatal: no such path src/AppSettings/My Project/Application.myapp         in HEAD                
git blame: non-zero exit code at /usr/local/bin/git-autofixup line 336.                         

➜  repo git:(foo) ✗ echo $?
128

➜  repo git:(foo) ✗ git autofixup --version
0.003001                                                                           

0x326 avatar Jun 27 '22 13:06 0x326

fixed in latest master, see https://github.com/torbiak/git-autofixup/pull/19

krobelus avatar Jun 27 '22 19:06 krobelus