DORMANTno replies

[PATCH] remove a superfluous git-symbolic-ref call

From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:42:52
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by Nicolas Pitre [off-list ref]
---

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\""
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help