projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sha1_to_hex: properly terminate the SHA1
[git.git]
/
git-reset.sh
diff --git
a/git-reset.sh
b/git-reset.sh
index
72ef303
..
eb44ee8
100755
(executable)
--- 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