]> source.dussan.org Git - jgit.git/commit
CommitCommand: Use original author on amend if author is not set 77/8077/2
authorRobin Stocker <robin@nibor.org>
Sun, 7 Oct 2012 15:18:58 +0000 (17:18 +0200)
committerRobin Stocker <robin@nibor.org>
Sun, 7 Oct 2012 22:31:27 +0000 (00:31 +0200)
commit79f33419ec073edf31a1db16ae9b11e69ee997a1
tree0d96710ee0d70e4f92a58ed64ee65fe163618704
parentc96b40d5921d68edb96afad38b9c171388af4e05
CommitCommand: Use original author on amend if author is not set

This way, callers don't have to parse author ident of HEAD themselves.

Bug: 362391
Change-Id: I383a817e6ed4707d637c52c007bc7b57728e6c85
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitCommandTest.java
org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java