]> source.dussan.org Git - jgit.git/commit
Set expected old object id to all zeros when head id is null 55/4755/2
authorKevin Sawicki <kevin@github.com>
Wed, 7 Dec 2011 02:02:30 +0000 (18:02 -0800)
committerKevin Sawicki <kevin@github.com>
Wed, 7 Dec 2011 02:02:30 +0000 (18:02 -0800)
commit2539b1ee096266b7fcca64545f93d7c08ab30f53
treeb607dbec8713e0fdbbc1033f68c073685da4f251
parentcd958ba93cd62399da3efdd13eb9ccaa0512a452
Set expected old object id to all zeros when head id is null

This will be the case on the initial commit to a repository
and the ref update should expect a non-existent ref

Change-Id: Iaa06e47e6e8cc4a0281c7683b367d4806dd980ea
org.eclipse.jgit/src/org/eclipse/jgit/api/CommitCommand.java