threads / patch / 13445

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

Subject: [PATCH] Added -A option to man page, to match 'git-repack -h' output.

## tl;dr

2 messages between May 9, 2008 and May 9, 2008. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Chris Frey· May 9, 2008, 02:24 UTC · lore
Simple patch to make documentation match the git-repack help message.
Signed-off-by: Chris Frey <cdfrey@foursquare.net>
---
 Documentation/git-repack.txt |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
Show changes to Documentation/git-repack.txt +4 −1
diff --git a/Documentation/git-repack.txt b/Documentation/git-repack.txt
index 3d95749..f53e777 100644
--- a/Documentation/git-repack.txt
+++ b/Documentation/git-repack.txt
@@ -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.
-- 
1.5.4.4
Jeff King· May 9, 2008, 04:22 UTC · re: Chris Frey · lore

Re: [PATCH] Added -A option to man page, to match 'git-repack -h' output.

On Thu, May 08, 2008 at 10:24:51PM -0400, Chris Frey wrote:
> 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

← back to recent threads