Skip to content

Commit 2352570

Browse files
committed
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 <[email protected]>
1 parent 806e0ab commit 2352570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-parse-remote.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ get_remote_url () {
5656

5757
get_default_remote () {
5858
curr_branch=$(git symbolic-ref -q HEAD)
59-
curr_branch="${cur_branch#refs/heads/}"
59+
curr_branch="${curr_branch#refs/heads/}"
6060
origin=$(git config --get "branch.$curr_branch.remote")
6161
echo ${origin:-origin}
6262
}

0 commit comments

Comments
 (0)