758:949b2d4df5fd | 759:656f6f6f63cf |
---|---|
3 | 3 |
4 case ${1:-} in *help|-h) | 4 case ${1:-} in *help|-h) |
5 exec perldoc -T $0;; | 5 exec perldoc -T $0;; |
6 esac | 6 esac |
7 | 7 |
8 UPSTREAM="${1:-@{u\}}" | 8 UPSTREAM="${1:-@{u}}" |
9 BRANCH="${2:-$(git symbolic-ref --short -q HEAD || echo HEAD)}" | 9 BRANCH="${2:-$(git symbolic-ref --short -q HEAD || echo HEAD)}" |
10 | 10 |
11 [ "$#" -ne 0 ] && shift | 11 [ "$#" -ne 0 ] && shift |
12 [ "$#" -ne 0 ] && shift | 12 [ "$#" -ne 0 ] && shift |
13 | 13 |