Staging
v0.8.1
Revision 77ad7a49d3cc946487ca759e5361effbcfb03be5 authored by Junio C Hamano on 05 April 2008, 05:38:32 UTC, committed by Junio C Hamano on 05 April 2008, 05:38:32 UTC
* git://repo.or.cz/git-gui:
  git-gui: use +/- instead of ]/[ to show more/less context in diff
  git-gui: Update french translation
  git-gui: Switch keybindings for [ and ] to bracketleft and bracketright
2 parent s 6c41b80 + 729ffa5
Raw File
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
back to top