Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
trivial: clarify, what are the config's user.name and user.email about
[gitweb.git]
/
git-prune.sh
diff --git
a/git-prune.sh
b/git-prune.sh
index 7e7f0ad56d381dc546f1bc598e41c1d7fa1e3a36..7b61d05c4b58c57c833563955e3206f0e4142c39 100755
(executable)
--- a/
git-prune.sh
+++ b/
git-prune.sh
@@
-1,5
+1,6
@@
#!/bin/sh
+USAGE='[-n] [--] [<head>...]'
. git-sh-setup
dryrun=
@@
-9,7
+10,7
@@
do
case "$1" in
-n) dryrun=-n echo=echo ;;
--) break ;;
- -*)
echo >&2 "usage: git-prune [ -n ] [ heads... ]"; exit 1
;;
+ -*)
usage
;;
*) break ;;
esac
shift;