threads / patch / 13465

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

Subject: [PATCH] git-repack: re-enable parsing of -n command line option

## tl;dr

One message between May 10, 2008 and May 10, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

A Large Angry SCM· May 10, 2008, 20:52 UTC · lore

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.

Signed-off-by: A Large Angry SCM <gitzilla@gmail.com>
---
 git-repack.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Show changes to git-repack.sh +1 −0
diff --git a/git-repack.sh b/git-repack.sh
index e18eb3f..2ece4fa 100755
--- a/git-repack.sh
+++ b/git-repack.sh
@@ -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

← back to recent threads