login
Header Space

 
 

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

Previous thread: Java Git (aka jgit) library switching license to BSD/EPL by Shawn O. Pearce on Thursday, May 8, 2008 - 10:11 pm. (7 messages)

Next thread: Who made today's Git? by Shawn O. Pearce on Thursday, May 8, 2008 - 10:31 pm. (1 message)
To: <git@...>
Cc: <gitster@...>
Date: Thursday, May 8, 2008 - 10:24 pm

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

Signed-off-by: Chris Frey &lt;cdfrey@foursquare.net&gt;
---
 Documentation/git-repack.txt |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

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

--
To: Chris Frey <cdfrey@...>
Cc: <git@...>, <gitster@...>
Date: Friday, May 9, 2008 - 12:22 am

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

-Peff
--
Previous thread: Java Git (aka jgit) library switching license to BSD/EPL by Shawn O. Pearce on Thursday, May 8, 2008 - 10:11 pm. (7 messages)

Next thread: Who made today's Git? by Shawn O. Pearce on Thursday, May 8, 2008 - 10:31 pm. (1 message)
speck-geostationary