aboutsummaryrefslogtreecommitdiff
path: root/git-reset.sh
diff options
context:
space:
mode:
authorfreku045@student.liu.se <freku045@student.liu.se>2005-12-13 23:30:31 +0100
committerJunio C Hamano <junkio@cox.net>2005-12-14 02:53:43 -0800
commit806f36d4d7caf75b6d3e098cb0353d85d3477c7d (patch)
tree7925350d3228cd00602abb91fe8712c236ddb2bb /git-reset.sh
parentaa9dc7afd2fc40466b430b35fc5c82d3c820cb26 (diff)
downloadgit-806f36d4d7caf75b6d3e098cb0353d85d3477c7d.tar.gz
git-806f36d4d7caf75b6d3e098cb0353d85d3477c7d.tar.xz
Trivial usage string clean-up
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-reset.sh')
-rwxr-xr-xgit-reset.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/git-reset.sh b/git-reset.sh
index 72ef303ae..eb44ee8cc 100755
--- a/git-reset.sh
+++ b/git-reset.sh
@@ -1,9 +1,7 @@
#!/bin/sh
-. git-sh-setup
-usage () {
- die 'Usage: git reset [--mixed | --soft | --hard] [<commit-ish>]'
-}
+USAGE='[--mixed | --soft | --hard] [<commit-ish>]'
+. git-sh-setup
tmp=/var/tmp/reset.$$
trap 'rm -f $tmp-*' 0 1 2 3 15