Skip to content

Commit bcef9b6

Browse files
committed
Merge branch 'maint'
* maint: parse-remote: typofix
2 parents 17a0299 + 2352570 commit bcef9b6

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
@@ -6,7 +6,7 @@ GIT_DIR=$(git rev-parse -q --git-dir) || :;
66

77
get_default_remote () {
88
curr_branch=$(git symbolic-ref -q HEAD)
9-
curr_branch="${cur_branch#refs/heads/}"
9+
curr_branch="${curr_branch#refs/heads/}"
1010
origin=$(git config --get "branch.$curr_branch.remote")
1111
echo ${origin:-origin}
1212
}

0 commit comments

Comments
 (0)