Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 17 lines (15 sloc) 0.432 kB
36e5e70 @torvalds Start deprecating "git-command" in favor of "git command"
torvalds authored
1 #!/bin/sh
2 while [ "$1" ]
3 do
b4f02d3 make remove-dashes: apply to scripts and programs as well, not just t…
Miklos Vajna authored
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
36e5e70 @torvalds Start deprecating "git-command" in favor of "git command"
torvalds authored
10 shift
11 done
b4f02d3 make remove-dashes: apply to scripts and programs as well, not just t…
Miklos Vajna authored
12
13 sed -i 's/git merge-one-file/git-merge-one-file/g
14 s/git rebase-todo/git-rebase-todo/g' $(git ls-files '*.sh')
36e5e70 @torvalds Start deprecating "git-command" in favor of "git command"
torvalds authored
15 git update-index --refresh >& /dev/null
16 exit 0
Something went wrong with that request. Please try again.