X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=tg.sh;h=545e1b8ec3d228cc2569090e651793dc45b77397;hb=e7027d8adf2de0e318160fe1062c19c6a088c241;hp=6c28467d8829f46d370c415d051ff453cf0e646c;hpb=dfe1670c129c1ec6f46ae7b5cc610201a59cfbfd;p=topgit.git diff --git a/tg.sh b/tg.sh index 6c28467..545e1b8 100644 --- a/tg.sh +++ b/tg.sh @@ -26,7 +26,7 @@ setup_hook() # Another job well done! return fi - # Prepare incanation + # Prepare incantation if [ -x "$git_dir/hooks/$1" ]; then hook_call="$hook_call"' || exit $?' else @@ -77,7 +77,7 @@ measure_branch() # Whether B1 is a superset of B2. branch_contains() { - [ -z "$(git rev-list ^"$1" "$2")" ] + [ -z "$(git rev-list ^"$1" "$2" --)" ] } # ref_exists REF @@ -222,7 +222,7 @@ do_help() sep="|" done - echo "TopGit v0.2 - A different patch queue manager" + echo "TopGit v0.3 - A different patch queue manager" echo "Usage: tg [-r REMOTE] ($cmds|help) ..." elif [ -r "@sharedir@/tg-$1.txt" ] ; then cat "@sharedir@/tg-$1.txt"