Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] fetch.c: Remove useless lookup_object_type() call in process()
[gitweb.git]
/
cmd-rename.sh
diff --git
a/cmd-rename.sh
b/cmd-rename.sh
index ada33fb51d13999319f438db3f8437713330a9a3..ad3285b7977b7dd1a7f152652004b2731e75b8cb 100755
(executable)
--- a/
cmd-rename.sh
+++ b/
cmd-rename.sh
@@
-4,7
+4,9
@@
test -d "$d" || exit
while read old new
do
rm -f "$d/$old"
+ if [ -x "$d/$new" ]; then
ln -s "$new" "$d/$old"
+ fi
done <<\EOF
git-add-script git-add
git-archimport-script git-archimport