Community
Participate
Working Groups
Created attachment 256205 [details] Example from Gerrit Hallo, I want to show the number of the changed lines of a commit. Similar like in the web UI of Gerrit (see attachment). Can someone help me to implement this feature for EGit/JGit.
Where would you like to see that? In the history view? If so, would it be on the list of commits, or just on commit details part?
(In reply to Mickael Istria from comment #1) > Where would you like to see that? In the history view? Yes, IMHO history view would be great. > If so, would it be on the list of commits, or just on commit details part? I think the commit list would be better - because better overview. So you can see here the big commits and small commits. I'm not sure, what you think?
moving this feature request to UI component I think this could be displayed in a new column in the history view's commit list. The view menu should allow to configure if this column is shown or not (similar to email address).
(In reply to Matthias Sohn from comment #3) > I think this could be displayed in a new column in the history view's commit > list. Yes, that would be great. > The view menu should allow to configure if this column is shown or not Yes, the column should be configurable.
(In reply to Matthias Sohn from comment #3) > moving this feature request to UI component Would it make sense to add this code to JGit? As a part of RevCommit. API example: RevCommit commit = getCommitFromRepo(object); int numberChangedLines = commit.getNumberOfChangedLines();
(In reply to Akif Etkue from comment #5) > Would it make sense to add this code to JGit? > As a part of RevCommit. > > API example: > > RevCommit commit = getCommitFromRepo(object); > int numberChangedLines = commit.getNumberOfChangedLines(); IMHO is that a nice idea. What do you think guys?
This is exactly what i'm looking for. Thumbs up.