Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368567

Summary: git log history is incomplete
Product: [ECD] Orion Reporter: Susan McCourt <susan>
Component: GitAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.3   
Target Milestone: 0.4 RC1   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
screenshot none

Description Susan McCourt CLA 2012-01-13 12:06:18 EST
I wanted to look at the history of 
bundles/org.eclipse.orion.client.core/web/orion/fileCommands.js

I only see three commits on the file (from this year) when I know there is tons more history.  On the built orion, I see an error when loading the page:

GET http://orion.eclipse.org/gitapi/clone/file/BT/    200 OK   228ms	
built-git-log.js (line 738)

TypeError: a(E) is null
()built-git-log.js (line 691)
undefined = "null"

But on the latest from HEAD (self hosted) I don't get an error but get the same incomplete history.
Comment 1 Susan McCourt CLA 2012-01-13 12:07:52 EST
Created attachment 209470 [details]
screenshot
Comment 2 Tomasz Zarna CLA 2012-01-26 08:46:26 EST
I'll try to look at it next week.
Comment 3 Tomasz Zarna CLA 2012-01-30 10:53:24 EST
Good catch, thanks for filling a bug for it. It's a bug in JGit with a fix being reviewed.
Comment 4 Susan McCourt CLA 2012-01-30 12:39:32 EST
good timing.  Now that you can get to git log from the editor (related pages menu) I think people are going to hit this more often.
Comment 5 Tomasz Zarna CLA 2012-02-01 11:36:22 EST
I totally agree, this should be fixed asap. If JGit guys don't accept the fix soon I will probably revert f94cba36c46d09f0471491a549390231c11011ee which used new options in LogCommand, bug 357774.
Comment 6 Szymon Brandys CLA 2012-02-02 05:05:50 EST
(In reply to comment #5)
> I totally agree, this should be fixed asap. If JGit guys don't accept the fix
> soon I will probably revert f94cba36c46d09f0471491a549390231c11011ee which used
> new options in LogCommand, bug 357774.

+1 for reverting till we have a fix in JGit.
Comment 7 Tomasz Zarna CLA 2012-02-02 08:12:56 EST
Matthias told me [1] it will take a while til the fix is reviewed and merged, so I've reverted[2] the commit mentioned in comment 5. At the same time I'm reopening bug 357734 to revisit it once the fix is in.

[1] http://dev.eclipse.org/mhonarc/lists/jgit-dev/msg01440.html
[2] 12264bf9cdd0050410bbb31c13a1246d77b212ad