aboutsummaryrefslogtreecommitdiff
path: root/fetch-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-12-18 01:55:29 -0800
committerJunio C Hamano <junkio@cox.net>2005-12-18 01:55:29 -0800
commit2247efb40b304f158b9ab41455bd711366a44f57 (patch)
tree187e422a34d766c3936acb53949cf118a68cd2c8 /fetch-pack.c
parentad8972150887a8ed3dd4869fc9318cc2e48dd69f (diff)
downloadgit-2247efb40b304f158b9ab41455bd711366a44f57.tar.gz
git-2247efb40b304f158b9ab41455bd711366a44f57.tar.xz
clone-pack: remove unused and undocumented --keep flag
While we are at it, give fully spelled --keep to fetch-pack. Also give --quiet in addition to -q to fetch-pack as well. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'fetch-pack.c')
-rw-r--r--fetch-pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fetch-pack.c b/fetch-pack.c
index 2528053fa..d34f32247 100644
--- a/fetch-pack.c
+++ b/fetch-pack.c
@@ -416,11 +416,11 @@ int main(int argc, char **argv)
exec = arg + 7;
continue;
}
- if (!strcmp("-q", arg)) {
+ if (!strcmp("--quiet", arg) || !strcmp("-q", arg)) {
quiet = 1;
continue;
}
- if (!strcmp("-k", arg)) {
+ if (!strcmp("--keep", arg) || !strcmp("-k", arg)) {
keep_pack = 1;
continue;
}