Stefan Beller <sbeller@xxxxxxxxxx> writes: > It looks like all these lines were introduced by one of the conflict chunks > in 4af9a7d344 (Merge branch 'bc/object-id', 2016-09-19). Viewing that > commit in gitk, the indentation seems fine, i.e. there is just one > whitespace in front of the lines, as you would expect from a formatted > patch. > > Signed-off-by: Stefan Beller <sbeller@xxxxxxxxxx> > --- > > Junio, > I do not think it is worth to apply this patch on its own, > but maybe it is worth to investigate your setup? (Assuming it is > git that did the merge, we may have a bug in whitespacing and > merge conflicts.) Thanks for spotting. I do not think you have to worry about any bug in Git-the-program with this merge. If you try to reproduce the merge yourself (which by the way is easy to do, with "M=4af9a7d344 && git checkout $M^ && git merge $M^2"), you'll see that quite a lot of changes made to "builtin/apply.c" had to be hand-ported to the corresponding lines that are now in "apply.c" at the top-level, because in the meantime 13b5af22 ("apply: move libified code from builtin/apply.c to apply.{c,h}", 2016-04-22) moved things around while the merged side branch has been cooking. It is very likely that manual killing and yanking in Emacs introduced the screw-up.