projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
037b048
)
git-clean fails on files beginning with a dash
author
Dennis Stosberg
<dennis@stosberg.net>
Mon, 29 May 2006 15:06:32 +0000
(17:06 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Tue, 30 May 2006 06:14:51 +0000
(23:14 -0700)
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
patch
|
blob
|
history
diff --git
a/git-clean.sh
b/git-clean.sh
index
bb56264
..
3834323
100755
(executable)
--- a/
git-clean.sh
+++ b/
git-clean.sh
@@
-19,8
+19,8
@@
ignored=
ignoredonly=
cleandir=
quiet=
-rmf="rm -f"
-rmrf="rm -rf"
+rmf="rm -f
--
"
+rmrf="rm -rf
--
"
rm_refuse="echo Not removing"
echo1="echo"