]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Rewrite 'git-foo' => 'git foo'
authorJunio C Hamano <gitster@pobox.com>
Sat, 15 Dec 2007 06:43:05 +0000 (22:43 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 15 Dec 2007 06:43:05 +0000 (22:43 -0800)
DoKernelOrg
PU
RB
RP
SE
Summary
V
WI
dodoc.sh

index 872fa8fc24396b8c554f4cacde3907e55c9d3da7..085265828e4e7832a02d4f7cec72b76c7d94e804 100755 (executable)
@@ -25,7 +25,7 @@ case "$1" in
        nstalled=install
        for branch in $branches
        do
-               if git-rev-parse --verify refs/heads/$branch 2>/dev/null
+               if git rev-parse --verify refs/heads/$branch 2>/dev/null
                then
                        echo "** $branch **" &&
                        git checkout $branch &&
@@ -84,7 +84,7 @@ maint | master)
                ;;
        esac >>./:all.log 2>&1 &&
        case "$V" in
-       *.rc[0-9]*)
+       *.rc[0-9]* | *-rc[0-9]*)
                mkdir -p $G/testing &&
                for a in $narch
                do
diff --git a/PU b/PU
index 4b4be2ba42af34f82a03092f2523ad1c7ef8e008..2a7f00b0a65cef0f1f8f6d46d490942fcbaf69a4 100755 (executable)
--- a/PU
+++ b/PU
@@ -3,8 +3,8 @@
 # Rebuild "pu" from topic branches.
 #
 
-git-update-index --refresh || exit
-case "$(git-diff-index --name-status HEAD)" in
+git update-index --refresh || exit
+case "$(git diff-index --name-status HEAD)" in
 '')    ;;
 *)     echo 2>&1 "Local modifications exist."
        exit 1;;
@@ -36,14 +36,14 @@ case "$#" in
                NHH=
                for H in $HH
                do
-                       HSHA1=`git-rev-parse --verify $H` || continue
-                       MB=`git-show-branch --merge-base pu $HSHA1`
+                       HSHA1=`git rev-parse --verify $H` || continue
+                       MB=`git show-branch --merge-base pu $HSHA1`
                        case "$LF$MB$LF" in
                        *"$LF$HSHA1$LF"*) continue ;; # already merged.
                        esac
                        I=$(($I+1))
                        echo -n "$I: "
-                       git-show-branch $H
+                       git show-branch $H
                        NHH="${NHH}$H "
                done
                case "$I" in
diff --git a/RB b/RB
index 918a3727f700d5e20acdd5ed6ecfcec0436a967b..c557b06971ffa981f6117e4d08ad53de9d87d523 100755 (executable)
--- a/RB
+++ b/RB
@@ -19,15 +19,15 @@ do
        topic_sha1=`git rev-parse --verify "refs/heads/$topic"`
 
        date=`
-               git-rev-list -1 --pretty "$topic" |
+               git rev-list -1 --pretty "$topic" |
                sed -ne 's/^Date: *\(.*\)/ (\1)/p'
        `
-       only_next_1=`git-rev-list ^master "^$topic" next | sort`
-       only_next_2=`git-rev-list ^master           next | sort`
+       only_next_1=`git rev-list ^master "^$topic" next | sort`
+       only_next_2=`git rev-list ^master           next | sort`
        rebase=
        if test "$only_next_1" = "$only_next_2"
        then
-               not_in_topic=`git-rev-list "^$topic" master`
+               not_in_topic=`git rev-list "^$topic" master`
                if test -z "$not_in_topic"
                then
                        :; # already up-to-date.
@@ -38,7 +38,7 @@ do
        if test -n "$rebase"
        then
                echo "Rebasing $topic to pick up:"
-               git-rev-list --pretty=oneline "^$topic" master |
+               git rev-list --pretty=oneline "^$topic" master |
                sed -e 's/^[0-9a-f]* / * /'
                git checkout "$topic" &&
                git rebase master || break;
diff --git a/RP b/RP
index 917cca2f16d3a5445d7a342fb4eaaf5ff2596051..d837c1d57b6df924fa708a410326c03095bb791a 100755 (executable)
--- a/RP
+++ b/RP
@@ -20,7 +20,7 @@ case "$#,$1" in
                base_branch=master
                ;;
        2)
-               base_branch=$(git-rev-parse --verify "$2") || exit
+               base_branch=$(git rev-parse --verify "$2") || exit
                ;;
        *)
                echo >&2 "$usage"
diff --git a/SE b/SE
index 82b71af441526ee9b13421a3eb1ce42727f919d4..78a4fd157e9950943650c152633b5218dc7005bf 100755 (executable)
--- a/SE
+++ b/SE
@@ -24,7 +24,7 @@ do
        shift
 done
 
-git-send-email \
+git send-email \
        --from="$me" \
        --envelope-sender="$me" \
        --to="$to" \
diff --git a/Summary b/Summary
index 60976cd444b249f984af57e46d1be0977cf22c89..951bc9f9aa95a9e8028a70c7c99101158c790ec4 100755 (executable)
--- a/Summary
+++ b/Summary
@@ -6,7 +6,7 @@ trap 'rm -f $tmp-*' 0
 since="$1"
 until="$2"
 
-git-rev-list --no-merges "master@{$1}..master@{$2}" >"$tmp-0.txt"
+git rev-list --no-merges "master@{$1}..master@{$2}" >"$tmp-0.txt"
 top="master@{$until}"
 bottom="master@{$since}"
 
diff --git a/V b/V
index 000a1d8fe115f503982fa98e24a75dea357b19b2..572cc78b6a491cc2a225de0fe85e69866908dc08 100755 (executable)
--- a/V
+++ b/V
@@ -24,5 +24,5 @@ do
                installed=$(git describe $version)
                in="\e[41;37m" out="\e[m" installed="     $installed"
        fi
-       echo "$in$v$out $(git-describe refs/heads/$v)$installed"
+       echo "$in$v$out $(git describe refs/heads/$v)$installed"
 done
diff --git a/WI b/WI
index 1e4f4e9444a4887f2f2393d7bba7b3ba0c2c1a9e..c4f429e834bfc8d29622da0ab017f8b07a4d6cb5 100755 (executable)
--- a/WI
+++ b/WI
@@ -13,7 +13,7 @@ echo "X-maint-at: $maint_at"
 echo "X-master-at: $master_at"
 
 tagged=`git rev-parse --not --verify hold/sa/maint`
-list=`git-rev-list $tagged refs/heads/maint 2>/dev/null`
+list=`git rev-list $tagged refs/heads/maint 2>/dev/null`
 if test -n "$list"
 then
        echo
@@ -23,7 +23,7 @@ then
 fi
 
 tagged=`git rev-parse --not --verify hold/sa/master`
-list=`git-rev-list $tagged refs/heads/master 2>/dev/null`
+list=`git rev-list $tagged refs/heads/master 2>/dev/null`
 if test -n "$list"
 then
        echo
index babafb27af323ded5024aa26ea25b3cfaffe86b5..20c0c933f8b65fb222dec714c43c06b30dce755e 100755 (executable)
--- a/dodoc.sh
+++ b/dodoc.sh
@@ -12,7 +12,7 @@ case " $* " in
         echo $HOME/git-doc/dodoc.sh | at now
         ;;
 esac
-exec git-update-server-info
+exec git update-server-info
 $ chmod +x hooks/post-update
 
 END_OF_COMMENTARY
@@ -25,7 +25,7 @@ END_OF_COMMENTARY
 # updated the updates are pushed back into their own branches
 # in git.git repository.
 
-ID=`git-rev-parse --verify refs/heads/master` || exit $?
+ID=`git rev-parse --verify refs/heads/master` || exit $?
 
 unset GIT_DIR
 
@@ -44,8 +44,8 @@ trap 'rm -f "$tmp".*' 0
        git pull "$MASTERREPO" master &&
        git fetch --tags "$MASTERREPO" 
 ) >/dev/null 2>/dev/null || exit $?
-test $(git-rev-parse --verify refs/heads/master) == "$ID" &&
-NID=$(git-describe --abbrev=4 "$ID") &&
+test $(git rev-parse --verify refs/heads/master) == "$ID" &&
+NID=$(git describe --abbrev=4 "$ID") &&
 test '' != "$NID" ||  exit $?
 
 # Set up subrepositories