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

Re: [PATCH v2 00/16] port branch.c to use ref-filter's printing options

From
Karthik Nayak <karthik.188@gmail.com>
Date
Mar 18, 2016, 18:43 UTC
Message-ID
<CAOLa=ZS7nwqnjciN2MkaRcuhf2NwOrDDgtqKDsDUJURuP8R1=A@mail.gmail.com>
In-Reply-To
<CA+P7+xoHy0oBGdYqhCmA3h=fv-YhDSyZV=kJyizwNnNcm37jBA@mail.gmail.com>
Hello,
On Wed, Mar 16, 2016 at 3:30 AM, Jacob Keller <jacob.keller@gmail.com> wrote:
Show 23 quoted lines
> On Tue, Mar 15, 2016 at 9:47 AM, Karthik Nayak <karthik.188@gmail.com> wrote:
>> diff --git a/Documentation/git-for-each-ref.txt b/Documentation/git-for-each-ref.txt
>> index 193e99e..578bbd1 100644
>> --- a/Documentation/git-for-each-ref.txt
>> +++ b/Documentation/git-for-each-ref.txt
>> @@ -116,10 +116,12 @@ upstream::
>>         `refname` above.  Additionally respects `:track` to show
>>         "[ahead N, behind M]" and `:trackshort` to show the terse
>>         version: ">" (ahead), "<" (behind), "<>" (ahead and behind),
>> -       or "=" (in sync).  Append `:track,nobracket` to show tracking
>> -       information without brackets (i.e "ahead N, behind M").  Has
>> -       no effect if the ref does not have tracking information
>> -       associated with it.
>> +       or "=" (in sync).  Has no effect if the ref does not have
>> +       tracking information associated with it. `:track` also prints
>> +       "[gone]" whenever unknown upstream ref is encountered. Append
>> +       `:track,nobracket` to show tracking information without
>> +       brackets (i.e "ahead N, behind M").  Has no effect if the ref
>> +       does not have tracking information associated with it.
>>
>
> It looks like you duplicated "Has no effect if the ref does not have
> tracking information associated with it"
Will fix that, thanks.
-- 
Regards,
Karthik Nayak
Previous: Jacob Keller
Message 21 of 21 in “port branch.c to use ref-filter's printing options”
  1. 00/16 port branch.c to use ref-filter's printing optionsKarthik Nayak, Mar 15, 2016
  2. 01/16 ref-filter: implement %(if), %(then), and %(else) atomsKarthik Nayak, Mar 15, 2016
  3. 02/16 ref-filter: include reference to 'used_atom' within 'atom_value'Karthik Nayak, Mar 15, 2016
  4. 03/16 ref-filter: implement %(if:equals=<string>) and %(if:notequals=<string>)Karthik Nayak, Mar 15, 2016
  5. 04/16 ref-filter: modify "%(objectname:short)" to take lengthKarthik Nayak, Mar 15, 2016
  6. Jacob KellerMar 15, 2016
  7. Karthik NayakMar 18, 2016
  8. 05/16 ref-filter: move get_head_description() from branch.cKarthik Nayak, Mar 15, 2016
  9. 06/16 ref-filter: introduce format_ref_array_item()Karthik Nayak, Mar 15, 2016
  10. 07/16 ref-filter: make %(upstream:track) prints "[gone]" for invalid upstreamsKarthik Nayak, Mar 15, 2016
  11. 08/16 ref-filter: add support for %(upstream:track,nobracket)Karthik Nayak, Mar 15, 2016
  12. 09/16 ref-filter: make "%(symref)" atom work with the ':short' modifierKarthik Nayak, Mar 15, 2016
  13. 10/16 ref-filter: introduce symref_atom_parser()Karthik Nayak, Mar 15, 2016
  14. 11/16 ref-filter: introduce refname_atom_parser()Karthik Nayak, Mar 15, 2016
  15. 12/16 ref-filter: add support for %(refname:dir) and %(refname:base)Karthik Nayak, Mar 15, 2016
  16. 13/16 ref-filter: allow porcelain to translate messages in the outputKarthik Nayak, Mar 15, 2016
  17. 14/16 branch, tag: use porcelain outputKarthik Nayak, Mar 15, 2016
  18. 15/16 branch: use ref-filter printing APIsKarthik Nayak, Mar 15, 2016
  19. 16/16 branch: implement '--format' optionKarthik Nayak, Mar 15, 2016
  20. Jacob KellerMar 15, 2016
  21. Karthik NayakMar 18, 2016

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.