Community
Participate
Working Groups
jgit is not able to follow "two step renames". A "two step rename" is a rename of a file using two commits: in the first commit the file is just copied to the new name/location, in a second commit, the original file is deleted. Example Consider the following history: A - B - C Description of each commit A file1 and file2 added git add file1 git add file2 git commit -m 'A' B file1 copied to file11, file2 moved to file22 cp file1 file11 git add file11 git mv file2 file22 git commit -m 'B' C file1 removed git rm file1 git commit -m 'C' Results using git: $ git log --follow -- file22 B A $ git log --follow -- file11 B A Results using jgit: $ jgit log --follow file22 B A $ jgit log --follow file11 B (but not A) git seems to follow copies and renames, while jgit just follows "real" renames.