Staging
v0.8.1
v0.8.1
Revision c41b439244c51b30c60953192816afc91e552578 authored by Brandon Casey on 31 January 2008, 00:41:25 UTC, committed by Junio C Hamano on 31 January 2008, 01:21:02 UTC
Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 733f181
fixup-builtins
#!/bin/sh
while [ "$1" ]
do
old="$1"
new=$(echo "$1" | sed 's/git-/git /')
echo "Converting '$old' to '$new'"
git ls-files '*.sh' | while read file
do
sed "s/\\<$old\\>/$new/g" < $file > $file.new
chmod --reference=$file $file.new
mv $file.new $file
done
shift
done
git update-index --refresh >& /dev/null
exit 0
Computing file changes ...