Browse Source

Shell syntax fix in git-reset

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
David Kågedal 18 years ago committed by Junio C Hamano
parent
commit
a5cd09f993
  1. 2
      git-reset.sh

2
git-reset.sh

@ -43,7 +43,7 @@ case "$1" in --) shift ;; esac @@ -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…
Cancel
Save