Skip to contentSkip to conversation

Added -A option to man page, to match 'git-repack -h' output.

PATCH In review Chris Frey 2 participants 2 messages Jun 15, 2016 Documentation

lore
Share & tools
lore

Chris Frey

author
#0 lore raw

PATCH 1/1 Added -A option to man page, to match 'git-repack -h' output.

Simple patch to make documentation match the git-repack help message.

---
 Documentation/git-repack.txt |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
Documentation/git-repack.txt +4 -1
index 3d95749..f53e777 100644
@@ -8,7 +8,7 @@ git-repack - Pack unpacked objects in a repository
 
 SYNOPSIS
 --------
-'git-repack' [-a] [-d] [-f] [-l] [-n] [-q] [--window=N] [--depth=N]
+'git-repack' [-a] [-A] [-d] [-f] [-l] [-n] [-q] [--window=N] [--depth=N]
 
 DESCRIPTION
 -----------
@@ -37,6 +37,9 @@ OPTIONS
 	leaves behind, but `git fsck --full` shows as
 	dangling.
 
+-A::
+	Same as `-a`, and keep unreachable objects too.
+
 -d::
 	After packing, if the newly created packs make some
 	existing packs redundant, remove the redundant packs.
Signature · 1 line
1.5.4.4
#1 lore raw
Quoted 1 line · Chris Frey

Simple patch to make documentation match the git-repack help message.

In principle, I think this is a good change; however, if Brandon's proposal for -A is accepted (see thread 'git gc & deleted branches'), the documentation should probably mention that unreachables become loose.

-Peff