Skip to content

Commit

Permalink
Shell syntax fix in git-reset
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
David Kågedal authored and Junio C Hamano committed Jan 18, 2007
1 parent 4700951 commit a5cd09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-reset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 -- "$@" |
Expand Down

0 comments on commit a5cd09f

Please sign in to comment.