From 2352570bf43368f3d3931f7b24bb7fd44e68eef3 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 30 Mar 2011 19:33:33 -0700 Subject: [PATCH] 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 --- git-parse-remote.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-parse-remote.sh b/git-parse-remote.sh index d3782d955..9b950be28 100644 --- a/git-parse-remote.sh +++ b/git-parse-remote.sh @@ -56,7 +56,7 @@ get_remote_url () { 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} } -- 2.30.2