]> source.dussan.org Git - jgit.git/commit
Only replace the ChangeId in the footer, not in the body 54/9554/6
authorStefan Lay <stefan.lay@sap.com>
Wed, 9 Jan 2013 13:02:13 +0000 (14:02 +0100)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 19 Jan 2013 16:37:09 +0000 (17:37 +0100)
commit1ca7c581a326dab9418d3d3eb665e1f27f6ca8ed
tree5282571e6984f004532d1806e05b83dcb880cf8b
parent3f0176aea6e77cb39be35f091100f8874693593d
Only replace the ChangeId in the footer, not in the body

Additionally expose methods to find the first footer line and to find
the position of the ChangeId footer in the commit message in order to
enable reuse of these methods introduced for the fix.

Change-Id: I87ecca009ca3bff1ca0de3c436ebd95736bf5a10
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/ChangeIdUtilTest.java
org.eclipse.jgit/src/org/eclipse/jgit/util/ChangeIdUtil.java