git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] remove a superfluous git-symbolic-ref call
@ 2007-02-03 20:46 Nicolas Pitre
  2007-02-03 20:58 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Pitre @ 2007-02-03 20:46 UTC (permalink / raw
  To: Junio C Hamano; +Cc: git

Signed-off-by Nicolas Pitre <nico@cam.org>
---

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\""

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] remove a superfluous git-symbolic-ref call
  2007-02-03 20:46 [PATCH] remove a superfluous git-symbolic-ref call Nicolas Pitre
@ 2007-02-03 20:58 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2007-02-03 20:58 UTC (permalink / raw
  To: Nicolas Pitre; +Cc: git

Thanks -- that was a mismerge.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-03 20:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-03 20:46 [PATCH] remove a superfluous git-symbolic-ref call Nicolas Pitre
2007-02-03 20:58 ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).