git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Retry conflicting merge with matching line endings?
@ 2009-02-18  1:55 skillzero
  2009-02-18  2:18 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: skillzero @ 2009-02-18  1:55 UTC (permalink / raw)
  To: git

I've been running into a lot of merge conflicts due to line endings
changing. For example, I branch from master when a file has CRLF line
endings (incorrectly) then somebody fixes a bug in that file (still
has CRLF line endings) on master then I realize the file should have
LF line endings so I change them. When I try to rebase on master
later, I get a merge conflict because it looks like every line has
changed and it conflicts with that other bug fix.

Would it be reasonable that if you get a conflict during a merge and
the line endings of the two commits are different then change the line
endings to match, retry the merge of that file, then apply the line
ending change commit?

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

end of thread, other threads:[~2009-02-18  3:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-18  1:55 Retry conflicting merge with matching line endings? skillzero
2009-02-18  2:18 ` Junio C Hamano
2009-02-18  3:44   ` skillzero

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).