diff options
author | Michael Allen <michael@michaelallen.io> | 2015-02-27 17:07:58 +0000 |
---|---|---|
committer | Michael Allen <michael@michaelallen.io> | 2015-02-27 17:07:58 +0000 |
commit | 6001be4d3ae315eb5f6974ee68c488dc7df0c19c (patch) | |
tree | 1032f96783e69375dcd867a231852cad10ea0fa2 /git-base.sh | |
parent | e0e489945c48473b95284da2d84925d400dcc466 (diff) | |
download | git-sonar-6001be4d3ae315eb5f6974ee68c488dc7df0c19c.tar.gz git-sonar-6001be4d3ae315eb5f6974ee68c488dc7df0c19c.zip |
remove dead is_tracking_remote function
Diffstat (limited to 'git-base.sh')
-rwxr-xr-x | git-base.sh | 8 |
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)")" |