From a5cd09f993c0dd96f0c70fd1266f7c58b4f52446 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20K=C3=A5gedal?= Date: Thu, 18 Jan 2007 12:15:13 +0100 Subject: [PATCH] Shell syntax fix in git-reset Signed-off-by: Junio C Hamano --- git-reset.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-reset.sh b/git-reset.sh index bf2a0581f..fee6d98d9 100755 --- a/git-reset.sh +++ b/git-reset.sh @@ -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 -- "$@" | -- 2.30.2