зеркало из https://github.com/microsoft/git.git
Shell syntax fix in git-reset
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Родитель
4700951298
Коммит
a5cd09f993
|
@ -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 -- "$@" |
|
||||
|
|
Загрузка…
Ссылка в новой задаче