diff options
author | Shawn Pearce <spearce@spearce.org> | 2017-07-17 08:40:23 -0700 |
---|---|---|
committer | Shawn Pearce <spearce@spearce.org> | 2017-08-17 15:06:51 -0700 |
commit | 2d76df2442096348a45275bf70ed66c63085c5f0 (patch) | |
tree | 39818e56e181f9ad49e2e1a6be7fbd35dbe78f9f | |
parent | 0aae64ce74d306f13bc6380beaf536dffd995c11 (diff) | |
download | jgit-2d76df2442096348a45275bf70ed66c63085c5f0.tar.gz jgit-2d76df2442096348a45275bf70ed66c63085c5f0.zip |
reftable: reserve standard PackExt
Reserve "ref" extension for reftable files. This allows them to be
used in a DFS repository as a stream in a DfsPackDescription.
Change-Id: Ife781bb64d0bb063333183ad2be70a41a2482513
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackExt.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackExt.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackExt.java index 248692f93f..e8bbf78a15 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackExt.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackExt.java @@ -59,6 +59,9 @@ public class PackExt { /** A pack bitmap index file extension. */ public static final PackExt BITMAP_INDEX = newPackExt("bitmap"); //$NON-NLS-1$ + /** A reftable file. */ + public static final PackExt REFTABLE = newPackExt("ref"); //$NON-NLS-1$ + /** @return all of the PackExt values. */ public static PackExt[] values() { return VALUES; |