Skip to contentSkip to conversation

git-repack: re-enable parsing of -n command line option

PATCH New A Large Angry SCM 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-repack: re-enable parsing of -n command line option

In commit 5715d0bb60dd90b03519cc436310f3cabe5b9b2a parsing of the '-n' command line option was accidentally lost when git-repack.sh was migrated to use git-rev-parse --parseopt. This adds it back.

---
 git-repack.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
git-repack.sh +1 -0
index e18eb3f..2ece4fa 100755
@@ -11,6 +11,7 @@ a               pack everything in a single pack
 A               same as -a, and keep unreachable objects too
 d               remove redundant packs, and run git-prune-packed
 f               pass --no-reuse-delta to git-pack-objects
+n               do not run git-update-server-info
 q,quiet         be quiet
 l               pass --local to git-pack-objects
  Packing constraints