]> source.dussan.org Git - jgit.git/commit
Identify a commit that generates a diffEntry on a rename Event. 57/203257/13
authorRonald Bhuleskar <funronald@google.com>
Wed, 19 Jul 2023 21:25:46 +0000 (14:25 -0700)
committerRonald Bhuleskar <funronald@google.com>
Mon, 24 Jul 2023 23:42:51 +0000 (19:42 -0400)
commitec3d919aa5ae891edc3d5e7eafe09cf272801878
treeb1d883198f8e0caeaca5af98b0500ce73c5a474a
parent3b77e33ad8f8206ff30a66ea2d15c3e1f1b731b2
Identify a commit that generates a diffEntry on a rename Event.

When using FollowFilter's rename callback, a callback is generated with the diff. The caller that is interested in the renames knows what the diff's are but have no idea what commit generated that diff.

This will allow FollowFilter's rename callback to track diffEntry for a given commit.

Change-Id: If1e63ccd19fdcb9c58c59137110fe24e0ce023d2
org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevWalkFollowFilterTest.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/RenameCallback.java
org.eclipse.jgit/src/org/eclipse/jgit/revwalk/TreeRevFilter.java