summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ad89721)
raw | patch | inline | side by side (parent: ad89721)
author | Junio C Hamano <junkio@cox.net> | |
Sun, 18 Dec 2005 09:55:29 +0000 (01:55 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 18 Dec 2005 09:55:29 +0000 (01:55 -0800) |
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>
Also give --quiet in addition to -q to fetch-pack as well.
Signed-off-by: Junio C Hamano <junkio@cox.net>
clone-pack.c | patch | blob | history | |
fetch-pack.c | patch | blob | history |
diff --git a/clone-pack.c b/clone-pack.c
index 03dbc2ead6ebadf7f45b7f368cb0666f9bd767a5..f634431be1f6ba3fa518d987a227c33f19543fb6 100644 (file)
--- a/clone-pack.c
+++ b/clone-pack.c
exec = arg + 7;
continue;
}
- if (!strcmp("--keep", arg))
- continue;
usage(clone_pack_usage);
}
dest = arg;
diff --git a/fetch-pack.c b/fetch-pack.c
index 2528053fa8140377b1efcd528fc34cd88c895cc8..d34f322477a9a072da3981c7ba49c87232ed8bc4 100644 (file)
--- a/fetch-pack.c
+++ b/fetch-pack.c
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;
}