git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Bug? Git won't apply a split hunk that went through a text editor
@ 2018-08-10  3:17 Philip White
  2018-08-10 18:27 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Philip White @ 2018-08-10  3:17 UTC (permalink / raw)
  To: git

Hello, git enthusiasts,

I’d like to report what I suspect is a bug in Git, tested in 2.18 and 2.14. (I’d be delighted to be corrected if it is my own misunderstanding.) I’m reporting it here based on guidance from https://git-scm.com/community.

I created a minimal testcase with a detailed README here: https://github.com/philipmw/git-bugreport-2018-hunk-fail

Overview of the bug:

When interactively selecting hunks to apply, using `git checkout -p <tree> <file>`, git will correctly apply an unmodified hunk, but will refuse to apply a hunk that went through a text editor ("e" command), even when I made no changes in the text editor.

Thanks for any advice or attention you can give to this matter.

— 
Philip

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

end of thread, other threads:[~2018-08-10 19:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-10  3:17 Bug? Git won't apply a split hunk that went through a text editor Philip White
2018-08-10 18:27 ` Jeff King
2018-08-10 19:14   ` Phillip Wood

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