Community
Participate
Working Groups
I have a file under "folder" directory, which in working tree has content "folder change". The latest revision in HEAD content is: "folder". When I ran org.eclipse.jgit.pgm.Main with args: '--git-dir <path to my repo> diff -- folder' I got: diff --git a/folder/folder.txt b/folder/folder.txt index 0119635..95c4c65 100644 --- a/folder/folder.txt +++ b/folder/folder.txt @@ -1 +1 @@ folder \ No newline at end of file which is definitely not what I would expect. I will submit a failing test case to gerrit in a minute.
Here it is: http://egit.eclipse.org/r/#change,3356 Sorry for messing around with code in org.eclipse.jgit.pgm. All those changes are just to illustrate the issue.
Patch posted. Please do some monkey testing on it.
Submitted commit 51a5cc7f1a1033664ee2fb760ed217b665b12b34
(In reply to comment #2) > Patch posted. Please do some monkey testing on it. Verified in master -- works fine for cases I'm aware of. Thx!