Git development
 help / color / mirror / Atom feed
* ignore blank line removals
@ 2016-11-03 15:57 John Rood
  2016-11-15 17:56 ` John Rood
  0 siblings, 1 reply; 4+ messages in thread
From: John Rood @ 2016-11-03 15:57 UTC (permalink / raw)
  To: git

If the contents of a file initially are:
  one

  three
and on branch A there is a commit, removing the blank line:
  one
  three
and on branch B there is a commit, adding 'two':
  one
  two
  three
Normally, if you try to merge A into B (or B into A), git recognizes a
decision needs to be made between removing the second line or add
"two" to the second line. It would be convenient to have a merge
strategy that defaults to the latter in cases where the removed line
was a blank line (or a line containing only whitespace) ...something
like -Xignore-blank-line-removals.

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

end of thread, other threads:[~2016-11-15 19:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-03 15:57 ignore blank line removals John Rood
2016-11-15 17:56 ` John Rood
2016-11-15 18:51   ` Junio C Hamano
2016-11-15 19:32     ` John Rood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox