diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-03-19 17:19:42 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-03-19 17:19:42 -0400 |
commit | bb0b8efa06e504a5b82dbc0fb5f22721701dcb42 (patch) | |
tree | bf66edf6e1b91a5008f08b2b3c202a54ce2aa3e3 /pbs-plumb-shlib | |
parent | 93cb6dddc415e481e52bdd5f0b379b7ea811dcf2 (diff) |
split pbs-package-commit into pbs-package-{post,}commit, and fix it
Diffstat (limited to 'pbs-plumb-shlib')
-rw-r--r-- | pbs-plumb-shlib | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pbs-plumb-shlib b/pbs-plumb-shlib index c51ddd0..ccbdffb 100644 --- a/pbs-plumb-shlib +++ b/pbs-plumb-shlib @@ -16,6 +16,10 @@ gitroot() { git rev-parse --show-toplevel } +gitbranch() { + git rev-parse --abbrev-ref HEAD +} + have_file() { local file=$1 if in_git; then |