summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d20e2f1)
raw | patch | inline | side by side (parent: d20e2f1)
author | freku045@student.liu.se <freku045@student.liu.se> | |
Tue, 13 Dec 2005 22:30:32 +0000 (23:30 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 14 Dec 2005 10:53:44 +0000 (02:53 -0800) |
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-prune.sh | patch | blob | history |
diff --git a/git-prune.sh b/git-prune.sh
index 7e7f0ad56d381dc546f1bc598e41c1d7fa1e3a36..7b61d05c4b58c57c833563955e3206f0e4142c39 100755 (executable)
--- a/git-prune.sh
+++ b/git-prune.sh
#!/bin/sh
+USAGE='[-n] [--] [<head>...]'
. git-sh-setup
dryrun=
case "$1" in
-n) dryrun=-n echo=echo ;;
--) break ;;
- -*) echo >&2 "usage: git-prune [ -n ] [ heads... ]"; exit 1 ;;
+ -*) usage ;;
*) break ;;
esac
shift;