Commits

Junio C Hamano  committed bcef9b6 Merge

Merge branch 'maint'

* maint:
parse-remote: typofix

  • Participants
  • Parent commits 17a0299, 2352570

Comments (0)

Files changed (1)

File git-parse-remote.sh

 
 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}
 }