Skip to content

Conversation

@kanet77
Copy link

@kanet77 kanet77 commented Feb 10, 2015

Accept git status output lines beginning with R in addition to the already accepted prefixes (A, M, D, UU, or ??).

I'm not convinced that the git status after popping is correct. The status is:
local_dir.should have_git_status({:deleted=>["lib/codes.rb"], :added=>["lib/codes2.rb"]})
I would expect:
local_dir.should have_git_status({:renamed=>["lib/codes2.rb"]})

@kanet77
Copy link
Author

kanet77 commented Feb 23, 2015

Any feedback on this pull request? I currently have to work around file renames by hand. I prefer to use the official git-smart rather than a locally-modified version.

zph added a commit to zph/git-smart that referenced this pull request Apr 7, 2023
Handle local renamed but uncommitted files (git mv).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant