-
Notifications
You must be signed in to change notification settings - Fork 94
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
Not Showing Rename Files #74
Comments
I don't believe the JGit API provides renamed files in it's status command. If that's true, I wouldn't try to include that in |
I must be misunderstanding something. The CommitDiff object has a rename instance variable, so how would I go about finding the files that have change names in a commit? |
Oh, I was confusing this with status. I'll have to look at this in more detail to see what's wrong. |
Thanks!! |
Turns out, rename detection is a separate API in JGit. I never had a test for renames so I didn't catch it. Working on a fix right now, and will have it out as 1.4.0-rc.2 pretty quick. |
FYI, just validated this on your test repo. Assuming it's just the one commit with a rename, this should be good to go. I'm going to push out 1.4.0 final now. |
Dude, you're the man! |
I can't seem to get
grgit.show(id)
to display the renamed files.Running
git log -M --summary
outputs:but when I do
git.show(id)
it does not show any renamed files. What am I missing?You can see the situation in this repo
Just run `./gradlew checkRename'
The text was updated successfully, but these errors were encountered: