зеркало из https://github.com/microsoft/git.git
git-clean fails on files beginning with a dash
Reproducible with: $ git init-db $ echo "some text" >-file $ git clean Removing -file rm: invalid option -- l Try `rm --help' for more information. Signed-off-by: Dennis Stosberg <dennis@stosberg.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Родитель
037b048ece
Коммит
7484529d7f
|
@ -19,8 +19,8 @@ ignored=
|
||||||
ignoredonly=
|
ignoredonly=
|
||||||
cleandir=
|
cleandir=
|
||||||
quiet=
|
quiet=
|
||||||
rmf="rm -f"
|
rmf="rm -f --"
|
||||||
rmrf="rm -rf"
|
rmrf="rm -rf --"
|
||||||
rm_refuse="echo Not removing"
|
rm_refuse="echo Not removing"
|
||||||
echo1="echo"
|
echo1="echo"
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче