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

Handle local renamed but uncommitted files (git mv). #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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