Skip to content

Commit

Permalink
clone-pack: remove unused and undocumented --keep flag
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Dec 18, 2005
1 parent ad89721 commit 2247efb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions clone-pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,6 @@ int main(int argc, char **argv)
exec = arg + 7;
continue;
}
if (!strcmp("--keep", arg))
continue;
usage(clone_pack_usage);
}
dest = arg;
Expand Down
4 changes: 2 additions & 2 deletions fetch-pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2247efb

Please sign in to comment.