Signed-off-by Nicolas Pitre <nico@xxxxxxx> --- Found in 'next'. diff --git a/git-checkout.sh b/git-checkout.sh index 99b8779..dd0c2e9 100755 --- a/git-checkout.sh +++ b/git-checkout.sh @@ -265,7 +265,6 @@ if [ "$?" -eq 0 ]; then if test -n "$branch" then GIT_DIR="$GIT_DIR" git-symbolic-ref -m "checkout: moving to $branch" HEAD "refs/heads/$branch" - GIT_DIR="$GIT_DIR" git-symbolic-ref HEAD "refs/heads/$branch" if test -z "$quiet" then echo >&2 "Switched to${newbranch:+ a new} branch \"$branch\"" - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html