parent
4700951298
commit
a5cd09f993
|
@ -43,7 +43,7 @@ case "$1" in --) shift ;; esac
|
||||||
# affecting the working tree nor HEAD.
|
# affecting the working tree nor HEAD.
|
||||||
if test $# != 0
|
if test $# != 0
|
||||||
then
|
then
|
||||||
test "$reset_type" == "--mixed" ||
|
test "$reset_type" = "--mixed" ||
|
||||||
die "Cannot do partial $reset_type reset."
|
die "Cannot do partial $reset_type reset."
|
||||||
|
|
||||||
git-diff-index --cached $rev -- "$@" |
|
git-diff-index --cached $rev -- "$@" |
|
||||||
|
|
Loading…
Reference in New Issue