aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Frade <ifrade@google.com>2022-01-04 12:30:10 -0800
committerIvan Frade <ifrade@google.com>2023-02-23 09:32:20 -0800
commitad07196d606941311a48198da93c4027b57fdcc6 (patch)
tree137339662dab7a2cf53102f7a945f18e55517305
parent176f17d05ec154ce455ab2bde7429017d43d67fb (diff)
downloadjgit-ad07196d606941311a48198da93c4027b57fdcc6.tar.gz
jgit-ad07196d606941311a48198da93c4027b57fdcc6.zip
PackExt: Define new extension for the object size index
Change-Id: I6bbaf43b4e6fb456ca0e9e0c6efcfeded0f94d6d
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/pack/PackExt.java5
1 files changed, 4 insertions, 1 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 1d02c02792..adad411c6f 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
@@ -33,7 +33,10 @@ public enum PackExt {
REVERSE_INDEX("rev"), //$NON-NLS-1$
/** A commit graph file extension. */
- COMMIT_GRAPH("graph"); //$NON-NLS-1$
+ COMMIT_GRAPH("graph"), //$NON-NLS-1$
+
+ /** An object size index. */
+ OBJECT_SIZE_INDEX("objsize"); //$NON-NLS-1$
private final String ext;