]> git.ipfire.org Git - thirdparty/git.git/blame - fixup-builtins
commit-tree: lift completely arbitrary limit of 16 parents
[thirdparty/git.git] / fixup-builtins
CommitLineData
36e5e70e
LT
1#!/bin/sh
2while [ "$1" ]
3do
4 old="$1"
5 new=$(echo "$1" | sed 's/git-/git /')
6 echo "Converting '$old' to '$new'"
7 git ls-files '*.sh' | while read file
8 do
9 sed "s/\\<$old\\>/$new/g" < $file > $file.new
10 chmod --reference=$file $file.new
11 mv $file.new $file
12 done
13 shift
14done
15git update-index --refresh >& /dev/null
16exit 0