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>
This commit is contained in:
parent
806e0aba2e
commit
2352570bf4
@ -56,7 +56,7 @@ get_remote_url () {
|
|||||||
|
|
||||||
get_default_remote () {
|
get_default_remote () {
|
||||||
curr_branch=$(git symbolic-ref -q HEAD)
|
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")
|
origin=$(git config --get "branch.$curr_branch.remote")
|
||||||
echo ${origin:-origin}
|
echo ${origin:-origin}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user