[PATCH] make git gc a first class citizen

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Sunday, April 15, 2007 - 5:21 am

Let 'git gc' show up when executing 'git' with no arguments.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---

hpa recently asked git tree owners on kernel.org to pack their trees.
As I usually do not pack my local trees I started to look into man
pages, executing git etc and came up with 'git repack -d -l -f'
but was told the 'git gc' was the better way to do it.
This patch makes it easier to identify the 'git gc' command.

While investigating this I noticed that all git commands
are linked with help.o has the full set of commands. Seems a bit waste
of space but I did not tackle that.

	Sam

diff --git a/generate-cmdlist.sh b/generate-cmdlist.sh
index 975777f..e4e11ad 100755
--- a/generate-cmdlist.sh
+++ b/generate-cmdlist.sh
@@ -21,6 +21,7 @@ clone
 commit
 diff
 fetch
+gc
 grep
 init
 log
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] make git gc a first class citizen, Sam Ravnborg, (Sun Apr 15, 5:21 am)