Thread (1 message) 1 message, 1 author, 2023-03-13

Re: Better suggestions when git-am(1) fails

From: Junio C Hamano <hidden>
Date: 2023-03-13 17:12:25

Jeff King [off-list ref] writes:
On Fri, Mar 10, 2023 at 08:28:55AM -0800, Junio C Hamano wrote:
quoted
Jeff King [off-list ref] writes:
quoted
  1. I feel like "-p1" was pretty standard even before Git. You'd
     extract two copies of the tarball, one into "foo-1.2.3" and one
     into "foo-1.2.3.orig", and then "diff -Nru" between them to send a
     patch.
I would too, but then we wouldn't have accepted the request to add
.noprefix configuration; I do not recall where it came from.
I always thought it was an aesthetic thing for humans viewing diffs (and
likewise mnemonicprefix). The original thread doesn't give much
motivation, though:

  https://lore.kernel.org/git/1272852221-14927-1-git-send-email-eli@cloudera.com/ (local)
Interesting.

Comparison with mnemonicprefix is a bit unfair, as it does not break
other tools, though ;-).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help