diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-07-02 22:52:14 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-07-02 22:52:14 -0700 |
commit | 5be60078c935ed08ee8eb5a32680bdfb6bb5bdf3 (patch) | |
tree | 9f68d81a31f8dfe7af6096e7beac2dc0997c143a /git-clean.sh | |
parent | Start deprecating "git-command" in favor of "git command" (diff) | |
download | tgif-5be60078c935ed08ee8eb5a32680bdfb6bb5bdf3.tar.xz |
Rewrite "git-frotz" to "git frotz"
This uses the remove-dashes target to replace "git-frotz" to "git frotz".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-clean.sh')
-rwxr-xr-x | git-clean.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-clean.sh b/git-clean.sh index 299309d971..a5cfd9f07a 100755 --- a/git-clean.sh +++ b/git-clean.sh @@ -20,7 +20,7 @@ require_work_tree ignored= ignoredonly= cleandir= -disabled="`git-config --bool clean.requireForce`" +disabled="`git config --bool clean.requireForce`" rmf="rm -f --" rmrf="rm -rf --" rm_refuse="echo Not removing" @@ -83,7 +83,7 @@ if [ -z "$ignored" ]; then fi fi -git-ls-files --others --directory $excl ${excl_info:+"$excl_info"} -- "$@" | +git ls-files --others --directory $excl ${excl_info:+"$excl_info"} -- "$@" | while read -r file; do if [ -d "$file" -a ! -L "$file" ]; then if [ -z "$cleandir" ]; then |