summaryrefslogtreecommitdiff
path: root/git-reset.sh
diff options
context:
space:
mode:
authorDavid K├ągedal <davidk@lysator.liu.se>2007-01-18 11:15:13 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-01-18 22:22:24 (GMT)
commita5cd09f993c0dd96f0c70fd1266f7c58b4f52446 (patch)
tree172858c3f02526dd55fc963596342a784537714d /git-reset.sh
parent4700951298ec75283c71e3daa9b18007adc195a2 (diff)
downloadgit-a5cd09f993c0dd96f0c70fd1266f7c58b4f52446.zip
git-a5cd09f993c0dd96f0c70fd1266f7c58b4f52446.tar.gz
git-a5cd09f993c0dd96f0c70fd1266f7c58b4f52446.tar.bz2
Shell syntax fix in git-reset
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-reset.sh')
-rwxr-xr-xgit-reset.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-reset.sh b/git-reset.sh
index bf2a058..fee6d98 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 -- "$@" |