@matheusbsbs / matheus-bagliano / commits / 2352570bf4
Fork 0

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>

Junio C Hamano committed Mar 30, 2011 at 19:33 UTC 2352570bf43368f3d3931f7b24bb7fd44e68eef3
1 file changed +1 -1
git-parse-remote.sh
+1 -1
@@ -56,7 +56,7 @@ get_remote_url () {
56
57 get_default_remote () {
58 curr_branch=$(git symbolic-ref -q HEAD)
59 - curr_branch="${cur_branch#refs/heads/}"
59 + curr_branch="${curr_branch#refs/heads/}"
60 origin=$(git config --get "branch.$curr_branch.remote")
61 echo ${origin:-origin}
62 }