Browse Source

Add EMPTY_TREE_ID as a sibling of EMPTY_BLOB_ID

Change-Id: Id68b3e1db7294cf9adb8b4ce8eecb1d828687eef
stable-5.1
Dave Borowitz 6 years ago
parent
commit
62562295c0
  1. 8
      org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java

8
org.eclipse.jgit/src/org/eclipse/jgit/lib/Constants.java

@ -695,6 +695,14 @@ public final class Constants {
public static final ObjectId EMPTY_BLOB_ID = ObjectId public static final ObjectId EMPTY_BLOB_ID = ObjectId
.fromString("e69de29bb2d1d6434b8b29ae775ad8c2e48c5391"); .fromString("e69de29bb2d1d6434b8b29ae775ad8c2e48c5391");
/**
* Well-known object ID for the empty tree.
*
* @since 5.1
*/
public static final ObjectId EMPTY_TREE_ID = ObjectId
.fromString("4b825dc642cb6eb9a060e54bf8d69288fbee4904");
/** /**
* Suffix of lock file name * Suffix of lock file name
* *

Loading…
Cancel
Save