git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "git checkout: --track and --no-track require -b" check accidentally resurrected?
@ 2008-10-19  0:54 Matt McCutchen
  2008-10-19 22:15 ` Junio C Hamano
  0 siblings, 1 reply; 5+ messages in thread
From: Matt McCutchen @ 2008-10-19  0:54 UTC (permalink / raw)
  To: git

Merge commit 9ba929ed resurrected the following two-line check, which
was removed in the first parent and unchanged in the second:

	if (!opts.new_branch && (opts.track != git_branch_track))
		die("git checkout: --track and --no-track require -b");

Is this intentional?  Does it make a difference?

(I noticed this while carefully examining 9ba929ed to find out why "git
merge" stopped honoring merge.conflictstyle.  Ironically, I hit this bug
again during the examination.)

Matt

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

end of thread, other threads:[~2008-10-20 16:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-19  0:54 "git checkout: --track and --no-track require -b" check accidentally resurrected? Matt McCutchen
2008-10-19 22:15 ` Junio C Hamano
2008-10-19 22:52   ` Is XDL_MERGE_ZEALOUS too zealous (or maybe not zealous enough)? Junio C Hamano
2008-10-20  3:42     ` Matt McCutchen
2008-10-20 16:17     ` Johannes Schindelin

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 NNTP newsgroup(s).