]> git.ipfire.org Git - thirdparty/git.git/blame - fixup-builtins
Merge branch 'jc/maint-imap-config-parse' into maint
[thirdparty/git.git] / fixup-builtins
CommitLineData
36e5e70e
LT
1#!/bin/sh
2while [ "$1" ]
3do
b4f02d35
MV
4 if [ "$1" != "git-sh-setup" -a "$1" != "git-parse-remote" -a "$1" != "git-svn" ]; then
5 old="$1"
6 new=$(echo "$1" | sed 's/git-/git /')
7 echo "Converting '$old' to '$new'"
8 sed -i "s/\\<$old\\>/$new/g" $(git ls-files '*.sh')
9 fi
36e5e70e
LT
10 shift
11done
b4f02d35
MV
12
13sed -i 's/git merge-one-file/git-merge-one-file/g
14s/git rebase-todo/git-rebase-todo/g' $(git ls-files '*.sh')
36e5e70e
LT
15git update-index --refresh >& /dev/null
16exit 0