Re: [PATCH v6] [GSOC] trailer: add new trailer.<token>.cmd config option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 6, 2021 at 5:47 AM Christian Couder
<christian.couder@xxxxxxxxx> wrote:
>
> On Mon, Apr 5, 2021 at 1:26 AM Junio C Hamano <gitster@xxxxxxxxx> wrote:
> >
> > Christian Couder <christian.couder@xxxxxxxxx> writes:

> > > I would say it would behave as if:
> > >
> > > $ git interpret-trailers --trailer Foo= input-file
> >
> > Hmmm.  That means that the descrition in the original is quite
> > misleading, no?
>
> Yeah, I agree it is misleading and difficult to understand.
>
> > If it said
> >
> >         ... as if "--trailer" "<token>=<value>" arguments were given
> >         to "git interpret-trailers" command near the beginning of
> >         its command line
> >
> > then that may be closer description of the command line you are
> > forming, but as its written (with or without my attempt to clarify
> > above), it was impossible to infer that you are behaving as if
> > another --trailer option (with <token>=<value> as its value) was
> > given.
>
> I agree.

By the way it might be better to first have a patch that clarifies the
existing documentation of ".command", before the patch that adds
".cmd". This way the first patch that only clarifies the documentation
could be backported to maintenance branches of old releases.



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux