Re: [PATCH v4 42/44] builtin-am: implement legacy -b/--binary option
- From
Paul Tan <pyokagan@gmail.com>
- Date
- Jul 14, 2015, 10:09 UTC
- Message-ID
- <CACRoPnS91zpbwrQvduTK_3OYJ+BnWHgbouTBC5RxrBmXaffDuA@mail.gmail.com>
- In-Reply-To
- <CABPQNSakaoyNRuNz=bcDYWdy4e2O3M4UuYoOT5JAV1mt-BiAOw@mail.gmail.com>
On Thu, Jul 9, 2015 at 5:17 PM, Erik Faye-Lund <kusmabite@gmail.com> wrote:
Show 28 quoted lines
> On Jun 29, 2015 10:06 PM, "Stefan Beller" <sbeller@google.com> wrote: >> >> On Sun, Jun 28, 2015 at 7:06 AM, Paul Tan <pyokagan@gmail.com> wrote: >> > The -b/--binary option was initially implemented in 087b674 (git-am: >> > --binary; document --resume and --binary., 2005-11-16). The option will >> > pass the --binary flag to git-apply to allow it to apply binary patches. >> > >> > However, in 2b6eef9 (Make apply --binary a no-op., 2006-09-06), --binary >> > was been made a no-op in git-apply. Following that, since cb3a160 >> > (git-am: ignore --binary option, 2008-08-09), the --binary option in >> > git-am is ignored as well. >> > >> > In 6c15a1c (am: officially deprecate -b/--binary option, 2012-03-13), >> > the --binary option was tweaked to its present behavior: when set, the >> > message: >> > >> > The -b/--binary option has been a no-op for long time, and it >> > will be removed. Please do not use it anymore. >> > >> > will be printed. >> >> I wonder if now would be the right time? The rewrite aim's at full >> feature compatibility, but we may want to revert this commit on >> top of patch 44 later. >> > > I would just remove the deprecated hack from the old implementation in the > beginning of the series.
Junio, what do you think?
Regards, Paul