X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-clean.sh;h=a5cfd9f07a48b97ceebfe54e88fdcc519c3e0015;hb=d225ae59c9102f2769c55749f80f7a94a92713e4;hp=299309d97169e6d9a52a8175dd0b8f6d54c5b369;hpb=b01c7c0ee3b692055c6026a9e22380d6ad35811b;p=git.git diff --git a/git-clean.sh b/git-clean.sh index 299309d97..a5cfd9f07 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