Snapshot 2006-05-04

todo
Junio C Hamano 2006-05-04 16:01:16 -07:00
parent 8e6f38443e
commit 0bc1bdd1ec
4 changed files with 15 additions and 5 deletions

5
Doit
View File

@ -8,7 +8,7 @@ test -z "$(git diff --cached --name-status)" || {
}
Meta/Make clean >/dev/null 2>&1

: ${branches='next master pu'}
: ${branches='next master maint pu'}

nstall=install
for branch in $branches
@ -20,8 +20,7 @@ do
Meta/Make $J all &&
Meta/Make $J $nstall &&
Meta/Make test &&
Meta/Make clean &&
nstall=all || exit $?
Meta/Make clean || exit $?
else
echo "* No $branch"
fi

6
RB
View File

@ -9,6 +9,12 @@ sed -n \
-e '/^[^\/][^\/]\//p' |
while read topic
do
case " $* " in
*' '"$topic"' '*)
echo >&2 "* Skipping $topic"
continue ;;
esac

rebase= done= not_done= trouble= date=
topic_sha1=`git rev-parse --verify "refs/heads/$topic"`


9
TO
View File

@ -1,11 +1,11 @@
#!/bin/sh

clean= next=next
branch=`git symbolic-ref HEAD`
while case $# in 0) break ;; esac
do
case "$1" in
--clean)
branch=`git symbolic-ref HEAD` &&
test refs/heads/master = "$branch" || {
echo >&2 Not on master
exit 1
@ -40,6 +40,11 @@ while read topic
do
rebase= done= not_done= trouble= date=
topic_sha1=`git rev-parse --verify "refs/heads/$topic"`
is_current=
if test "refs/heads/$topic" = "$branch"
then
is_current=" *"
fi

date=`
git-rev-list -1 --pretty "$topic" |
@ -88,7 +93,7 @@ do
not_done="${LF}Up to date."
fi

echo "*** $topic ***$date$trouble$done$not_done"
echo "*** $topic ***$date$is_current$trouble$done$not_done"

if test -z "$trouble$not_done" &&
test -n "$done" &&

BIN
jc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB