torbiak/git-autofixup

Does not seem to handle filenames with spaces

0x326 opened this issue · 1 comments

0x326 commented
➜  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                                                                           

fixed in latest master, see #19