Shell syntax fix in git-reset
Signed-off-by: Junio C Hamano <junkio@cox.net>
David Kågedal committed
Jan 18, 2007 at 12:15 UTC
a5cd09f993c0dd96f0c70fd1266f7c58b4f52446
1 file changed
+1
-1
git-reset.sh
+1
-1
@@ -43,7 +43,7 @@ case "$1" in --) shift ;; esac
43
# affecting the working tree nor HEAD.
44
if test $# != 0
45
then
46
- test "$reset_type" == "--mixed" ||
46
+ test "$reset_type" = "--mixed" ||
47
die "Cannot do partial $reset_type reset."
48
49
git-diff-index --cached $rev -- "$@" |