--- git-reset.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) My /bin/sh is a symlink to dash, which is probably why I got this and few others. 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 -- "$@" | -- 1.5.0.rc1.g04f3-dirty -- David Kågedal - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html