]> source.dussan.org Git - jgit.git/commit
Extract method to output the first header line of a git diff 03/10003/4
authorTobias Pfeifer <to.pfeifer@sap.com>
Thu, 17 Jan 2013 13:45:00 +0000 (14:45 +0100)
committerTobias Pfeifer <to.pfeifer@sap.com>
Wed, 30 Jan 2013 12:27:50 +0000 (13:27 +0100)
commit0d09b1cab7bcadd43be6c023028f7aca579944ab
treef872dcf22e2872002a764333e3df37ad95c260f5
parenteb6093293022e468c2aea93a11f63b366e0d3891
Extract method to output the first header line of a git diff

In order to be able to determine the range of the first header line
(e.g. "diff --git a/file1 b/file2") in subclasses, the code that formats
the first header line is extracted.

Required by egit's change: Ia61398146c0336ab332234f24d341561292554db

Change-Id: I9dd5eb964ed8b6869745c3162159b7425ac2c44a
Signed-off-by: Tobias Pfeifer <to.pfeifer@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffFormatter.java