Adjust the support scripts to "git binary directory" change.
Luckily, as long as you use "git" wrapper, you are forward/backward compatible. Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Nov 6, 2005 at 01:55 UTC
32a1e647773bffe10c40a1fdff1bfbf73806c4b8
3 files changed
+9
-10
KO
+2
-2
@@ -4,8 +4,8 @@
4
# I do not accidentally push a rewound master to public.
5
6
git fetch ko
7
-mb=$(git-merge-base ko-master master)
8
-h=$(git-rev-parse $mb ko-master | sort -u | wc -l)
7
+mb=$(git merge-base ko-master master)
8
+h=$(git rev-parse $mb ko-master | sort -u | wc -l)
9
if test "$h" != 1
10
then
11
echo "OOOOOPPPPPPPPPPPPPPSSS! master is not ko-master fast forward."
Make
+1
@@ -9,6 +9,7 @@ export PATH LANG LC_CTYPE
9
10
#make prefix=/usr/local \
11
make bindir=$HOME/bin/Linux \
12
+ gitdir=$HOME/lib/gitbin \
13
PYTHON_PATH=/usr/bin/python2.4 \
14
CFLAGS='-O1 -Wall -g'"$DDD" \
15
WITH_SEND_EMAIL=YesPlease \
PU
+6
-8
@@ -3,19 +3,17 @@
3
# Rebuild "pu" from topic branches.
4
#
5
6
-. git-sh-setup
7
-
8
-git-status && exit
9
-git-checkout pu &&
10
-git-reset --hard master &&
11
-ORIG_HEAD=`git-rev-parse ORIG_HEAD` || exit
6
+git status && exit
7
+git checkout pu &&
8
+git reset --hard master &&
9
+ORIG_HEAD=`git rev-parse ORIG_HEAD` || exit
10
11
for H
12
do
15
- (IFS=",$IFS"; git-pull -n . $H) || exit
13
+ (IFS=",$IFS"; git pull -n . $H) || exit
14
done
15
18
-(IFS=",$IFS"; git-show-branch master pu $* $ORIG_HEAD)
16
+(IFS=",$IFS"; git show-branch master pu $* $ORIG_HEAD)
17
18
19