diff options
author | Yash Chaturvedi <quic_zeref@quicinc.com> | 2024-11-14 20:03:08 +0530 |
---|---|---|
committer | Yash Chaturvedi <quic_zeref@quicinc.com> | 2024-11-22 10:07:07 +0530 |
commit | 6fa28d7677f8242d73dc32294fa7db6e86c23b25 (patch) | |
tree | e686e175629ef24f43490f76e84595b9258541e4 /org.eclipse.jgit.pgm/META-INF/services/org.eclipse.jgit.pgm.TextBuiltin | |
parent | f295477b1925cc272c6219126daf1fd7cfc5b602 (diff) | |
download | jgit-6fa28d7677f8242d73dc32294fa7db6e86c23b25.tar.gz jgit-6fa28d7677f8242d73dc32294fa7db6e86c23b25.zip |
Add pack-refs command to the CLI
This command can be used to optimize storage of references.
For a RefDirectory database, it packs non-symbolic, loose refs into
packed-refs. By default, only the references under '$GIT_DIR/refs/tags'
are packed. The '--all' option can be used to pack all the references
under '$GIT_DIR/refs'.
For Reftable, all refs are compacted into a single table.
Change-Id: I92e786403f8638d35ae3037844a7ad89e8959e02
Diffstat (limited to 'org.eclipse.jgit.pgm/META-INF/services/org.eclipse.jgit.pgm.TextBuiltin')
-rw-r--r-- | org.eclipse.jgit.pgm/META-INF/services/org.eclipse.jgit.pgm.TextBuiltin | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit.pgm/META-INF/services/org.eclipse.jgit.pgm.TextBuiltin b/org.eclipse.jgit.pgm/META-INF/services/org.eclipse.jgit.pgm.TextBuiltin index 08d37278de..41b0091b77 100644 --- a/org.eclipse.jgit.pgm/META-INF/services/org.eclipse.jgit.pgm.TextBuiltin +++ b/org.eclipse.jgit.pgm/META-INF/services/org.eclipse.jgit.pgm.TextBuiltin @@ -26,6 +26,7 @@ org.eclipse.jgit.pgm.LsTree org.eclipse.jgit.pgm.Merge org.eclipse.jgit.pgm.MergeBase org.eclipse.jgit.pgm.MergeTool +org.eclipse.jgit.pgm.PackRefs org.eclipse.jgit.pgm.Push org.eclipse.jgit.pgm.ReceivePack org.eclipse.jgit.pgm.Reflog |