Skip to content

Commit

Permalink
parse-remote: typofix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Mar 31, 2011
1 parent 806e0ab commit 2352570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-parse-remote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
Expand Down

0 comments on commit 2352570

Please sign in to comment.