Shell syntax fix in git-reset
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
4700951298
commit
a5cd09f993
@ -43,7 +43,7 @@ case "$1" in --) shift ;; esac
|
||||
# affecting the working tree nor HEAD.
|
||||
if test $# != 0
|
||||
then
|
||||
test "$reset_type" == "--mixed" ||
|
||||
test "$reset_type" = "--mixed" ||
|
||||
die "Cannot do partial $reset_type reset."
|
||||
|
||||
git-diff-index --cached $rev -- "$@" |
|
||||
|
Loading…
Reference in New Issue
Block a user