summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Allen <michael@michaelallen.io>2015-02-27 17:07:58 +0000
committerMichael Allen <michael@michaelallen.io>2015-02-27 17:07:58 +0000
commit6001be4d3ae315eb5f6974ee68c488dc7df0c19c (patch)
tree1032f96783e69375dcd867a231852cad10ea0fa2
parente0e489945c48473b95284da2d84925d400dcc466 (diff)
downloadgit-sonar-6001be4d3ae315eb5f6974ee68c488dc7df0c19c.tar.gz
git-sonar-6001be4d3ae315eb5f6974ee68c488dc7df0c19c.zip
remove dead is_tracking_remote function
-rwxr-xr-xgit-base.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/git-base.sh b/git-base.sh
index 198a335..7ffb511 100755
--- a/git-base.sh
+++ b/git-base.sh
@@ -127,14 +127,6 @@ readable_branch_name() {
fi
}
-is_tracking_remote() {
- if [[ -n "$(remote_branch_name)" ]]; then
- return 0
- else
- return 1
- fi
-}
-
remote_branch_name() {
if is_repo; then
local remoteBranch="$(git for-each-ref --format='%(upstream:short)' refs/heads | grep "$(branch_name)")"