[PATCH] patch: ignore a few more flags for compatibility with gnu diff

Denys Vlasenko vda.linux at googlemail.com
Fri Jan 22 04:13:08 UTC 2010


On Friday 22 January 2010 04:54, Matheus Izvekov wrote:
> > > +			"get\0"                   Required_argument "g"
> > 
> > ??
> > 
> > -g num or --get=num
> >     This option controls patch's actions when a file is under RCS
> > or SCCS control, and does not exist or is read-only and matches
> > the default version, or when a file is under ClearCase control
> > and does not exist.
> > 
> > Did you really see use of this obscure option in the wild?

> Well, the history is that gentoo's portage calls patch with all these
> options, but just using default values. Ie patch -g0 -E etc..
> I figure it's better to just ignore it, than to start a war on who's
> right or wrong...

You misunderstood me. I simply wanted to have a clearer
explanation whether this option is needed for existing
desktop system (it looks more like historical one).

I restored it, and added your explanation in the comment.
Thanks!
--
vda


More information about the busybox mailing list