]> source.dussan.org Git - jgit.git/commit
Added one-tree constructor to DirCacheCheckout 99/1899/1
authorChristian Halstrick <christian.halstrick@sap.com>
Fri, 12 Nov 2010 23:42:01 +0000 (00:42 +0100)
committerChristian Halstrick <christian.halstrick@sap.com>
Fri, 12 Nov 2010 23:45:50 +0000 (00:45 +0100)
commit484807e82be790e4fe7cbe84f680aaccd662d433
tree535ef488103004a9c2a1a86bae37a63c2a7e9ce7
parente8315ce19d765bc48c2fa5b90464c12d1e606063
Added one-tree constructor to DirCacheCheckout

When DirCacheCheckout should be used to checkout only one
tree (reset --hard, clone) then we had to use the standard
constructor and specify null as value for head. This change
adds explicit constructors not taking HEAD and documents
that.

Bug: 330021
Signed-off-by: Christian Halstrick <christian.halstrick@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java