diff options
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 |