summaryrefslogtreecommitdiff
path: root/pbs-plumb-shlib
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-21 08:46:03 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-05-21 08:46:03 -0400
commit0897c55ff412b68b553ace31eb24f93cbbe289ab (patch)
tree475eb97800aa2ceb1a1c2ae8ab80ba5c0c79450a /pbs-plumb-shlib
parentfbdce812a178b23210b5b7d7560fcf14cd9b11ff (diff)
remove unused things
Diffstat (limited to 'pbs-plumb-shlib')
-rw-r--r--pbs-plumb-shlib8
1 files changed, 1 insertions, 7 deletions
diff --git a/pbs-plumb-shlib b/pbs-plumb-shlib
index ded9825..5f2014c 100644
--- a/pbs-plumb-shlib
+++ b/pbs-plumb-shlib
@@ -7,13 +7,7 @@
# Usage: in_git
# Returns 0 if somewhere in a git repository, nonzero if not.
in_git() {
- git rev-parse --git-dir &>/dev/null
-}
-
-# Usage: gitdir
-# Prints the .git directory for the repository we're in
-gitdir() {
- git rev-parse --git-dir
+ gitroot &>/dev/null
}
# Usage: gitroot