git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: stripping [PATCH] without losing later tags from mailed patches (Re: [ 02/12] Remove COMPAT_IA32 support)

From
Willy Tarreau <w@1wt.eu>
Date
Mar 12, 2012, 16:53 UTC
Message-ID
<20120312165356.GD12405@1wt.eu>
In-Reply-To
<87aa3l4vqq.fsf@thomas.inf.ethz.ch>
On Mon, Mar 12, 2012 at 05:41:49PM +0100, Thomas Rast wrote:
Show 22 quoted lines
> [+cc Junio because of backwards-compat issues]
> 
> Willy Tarreau <w@1wt.eu> writes:
> 
> > On Mon, Mar 12, 2012 at 08:20:04AM -0700, Greg KH wrote:
> >> 
> >> I don't see a -b option to 'git am' in the manpage, am I missing
> >> something here?
> >
> > It's in the master tree only right now, and the option is "--keep-non-patch"
> > (could have been shorter). Currently rebuilding to test it :-)
> 
> Exactly.
> 
> The problem with -b is that it's a backwards-compatibility shorthand for
> --binary, which used to pass --allow-binary-replacement (or --binary) to
> git-apply.  However, that option was obsoleted in 2b6eef9 (Make apply
> --binary a no-op., 2006-09-06) and has been a no-op for over 5 years.
> It has also not been documented since cb3a160 (git-am: ignore --binary
> option, 2008-08-09).
> 
> So perhaps we can safely claim -b for --keep-non-patch, like so:

Yes I do think so, especially since 5 years ago, git commands were called hyphenated like "git-am" instead of "git am". So I don't think there's any risk in reusing the option.

Regards, Willy

Previous: Thomas RastNext: Jonathan Nieder
Message 6 of 37 in “stripping [PATCH] without losing later tags from mailed patches (Re: [ 02/12] Remove COMPAT_IA32 support)”
  1. Jonathan NiederMar 12, 2012
  2. Willy TarreauMar 12, 2012
  3. Greg KHMar 12, 2012
  4. Willy TarreauMar 12, 2012
  5. Thomas RastMar 12, 2012
  6. Willy TarreauMar 12, 2012
  7. Jonathan NiederMar 12, 2012
  8. Junio C HamanoMar 12, 2012
  9. Willy TarreauMar 12, 2012
  10. Jonathan NiederMar 12, 2012
  11. Willy TarreauMar 12, 2012
  12. Thomas RastMar 12, 2012
  13. Jonathan NiederMar 12, 2012
  14. Thomas RastMar 12, 2012
  15. Jonathan NiederMar 12, 2012
  16. Thomas RastMar 13, 2012
  17. Jonathan NiederMar 13, 2012
  18. Thomas RastMar 13, 2012
  19. Junio C HamanoMar 13, 2012
  20. Jonathan NiederMar 13, 2012
  21. Junio C HamanoMar 13, 2012
  22. git-am: officially deprecate -b/--binaryJunio C Hamano, Mar 13, 2012
  23. Junio C HamanoMar 12, 2012
  24. Junio C HamanoMar 12, 2012
  25. Junio C HamanoMar 12, 2012
  26. Willy TarreauMar 12, 2012
  27. Junio C HamanoMar 12, 2012
  28. Willy TarreauMar 12, 2012
  29. Junio C HamanoMar 12, 2012
  30. Greg KHMar 12, 2012
  31. Junio C HamanoMar 12, 2012
  32. Greg KHMar 12, 2012
  33. Junio C HamanoMar 12, 2012
  34. Willy TarreauMar 12, 2012
  35. Jonathan NiederMar 12, 2012
  36. SergioMar 13, 2012
  37. Thomas RastMar 13, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.