]> source.dussan.org Git - jgit.git/commit
Add support for computing a Change-Id à la Gerrit 23/523/7
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 24 May 2010 19:19:59 +0000 (21:19 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 5 Jun 2010 01:42:14 +0000 (18:42 -0700)
commit920d89d6af01a668e8fada15e7ba3f6f83efc10c
tree553f5d2698be80d3924cd3578dc23532cacbe521
parent046d1a2ef6ddea2a9521ac49ae339e05c1cc0acd
Add support for computing a Change-Id à la Gerrit

A Change-Id helps tools like Gerrit Code Review to keeps different
versions of a patch together. The Change-Id is computed as a SHA-1
hash of some of the same basic information as a commit id on the first
commit intended to solve a particular problem and then reused for
updated solutions.

Change-Id: I04334f84e76e83a4185283cb72ea0308b1cb4182
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/ChangeIdUtilTest.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectWriter.java
org.eclipse.jgit/src/org/eclipse/jgit/util/ChangeIdUtil.java [new file with mode: 0644]