git-clean fails on files beginning with a dash
commit7484529d7f17d5bff1faefb007d604aba12a0e1b
authorDennis Stosberg <dennis@stosberg.net>
Mon, 29 May 2006 15:06:32 +0000 (29 17:06 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 30 May 2006 06:14:51 +0000 (29 23:14 -0700)
tree4625f2fb4c5cc1b76a1668ddee55963aa738b350
parent037b048eceafa129903d6327d3565c543f5895bb
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>
git-clean.sh