diff options
| author | Junio C Hamano <gitster@pobox.com> | 2011-03-30 19:33:33 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2011-03-30 19:33:41 -0700 |
| commit | 2352570bf43368f3d3931f7b24bb7fd44e68eef3 (patch) | |
| tree | 01616fd12ce997f6e0a10355990d0690b694eb2c /git-parse-remote.sh | |
| parent | contrib/thunderbird-patch-inline: do not require bash to run the script (diff) | |
| download | git-2352570bf43368f3d3931f7b24bb7fd44e68eef3.tar.gz git-2352570bf43368f3d3931f7b24bb7fd44e68eef3.zip | |
parse-remote: typofix
An earlier patch had a trivial typo that two people did not notice.
Pointed out by Michael Schubert.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 d3782d9559..9b950be28d 100644 --- a/git-parse-remote.sh +++ b/git-parse-remote.sh @@ -56,7 +56,7 @@ get_remote_url () { 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} } |
