X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-branch.sh;h=5306b2719ffbedfa077f4d5489ab46448ef5c186;hb=8bf14d6ef9245f3b81d24cb7725a868f62343277;hp=b48c32988fc16fe9d221cca18c1030bbaaa5838b;hpb=9cc2527cd2943c82cf448dccec564869b0a762e6;p=git.git diff --git a/git-branch.sh b/git-branch.sh index b48c3298..5306b271 100755 --- a/git-branch.sh +++ b/git-branch.sh @@ -2,6 +2,11 @@ GIT_DIR=`git-rev-parse --git-dir` || exit $? +die () { + echo >&2 "$*" + exit 1 +} + usage () { echo >&2 "usage: $(basename $0)"' [-d ] | [[-f] [start-point]]