diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-03-30 19:33:53 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-30 19:33:53 -0700 |
commit | bcef9b6327a7d0a01b9207a9cf0aa2783e12fb41 (patch) | |
tree | b8c58a6d32224606ef37e9e0aa702626dff75880 /git-parse-remote.sh | |
parent | 17a02998078923f2d62811326d130de991d1a95a (diff) | |
parent | 2352570bf43368f3d3931f7b24bb7fd44e68eef3 (diff) | |
download | git-bcef9b6327a7d0a01b9207a9cf0aa2783e12fb41.tar.gz |
Merge branch 'maint'
* maint:
parse-remote: typofix
Diffstat (limited to 'git-parse-remote.sh')
-rw-r--r-- | git-parse-remote.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-parse-remote.sh b/git-parse-remote.sh index 91688792a2..ea093d251d 100644 --- a/git-parse-remote.sh +++ b/git-parse-remote.sh @@ -6,7 +6,7 @@ GIT_DIR=$(git rev-parse -q --git-dir) || :; get_default_remote () { curr_branch=$(git symbolic-ref -q HEAD) - curr_branch="${cur_branch#refs/heads/}" + curr_branch="${curr_branch#refs/heads/}" origin=$(git config --get "branch.$curr_branch.remote") echo ${origin:-origin} } |