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

Re: What's cooking in git.git (Dec 2016, #04; Fri, 16)

From
Karthik Nayak <karthik.188@gmail.com>
Date
Dec 17, 2016, 08:38 UTC
Message-ID
<CAOLa=ZREUWqdH_2HNn_JQcf4RW9k1dAN5BtwPN2HnzuDoUdkWw@mail.gmail.com>
In-Reply-To
<xmqqbmwbqw25.fsf@gitster.mtv.corp.google.com>
Hello,
Show 29 quoted lines
>
> * kn/ref-filter-branch-list (2016-12-08) 20 commits
>  - branch: implement '--format' option
>  - branch: use ref-filter printing APIs
>  - branch, tag: use porcelain output
>  - ref-filter: allow porcelain to translate messages in the output
>  - ref-filter: add an 'rstrip=<N>' option to atoms which deal with refnames
>  - ref-filter: modify the 'lstrip=<N>' option to work with negative '<N>'
>  - ref-filter: rename the 'strip' option to 'lstrip'
>  - ref-filter: make remote_ref_atom_parser() use refname_atom_parser_internal()
>  - ref-filter: introduce refname_atom_parser()
>  - ref-filter: introduce refname_atom_parser_internal()
>  - ref-filter: make "%(symref)" atom work with the ':short' modifier
>  - ref-filter: add support for %(upstream:track,nobracket)
>  - ref-filter: make %(upstream:track) prints "[gone]" for invalid upstreams
>  - ref-filter: introduce format_ref_array_item()
>  - ref-filter: move get_head_description() from branch.c
>  - ref-filter: modify "%(objectname:short)" to take length
>  - ref-filter: implement %(if:equals=<string>) and %(if:notequals=<string>)
>  - ref-filter: include reference to 'used_atom' within 'atom_value'
>  - ref-filter: implement %(if), %(then), and %(else) atoms
>  - for-each-ref: do not segv with %(HEAD) on an unborn branch
>
>  The code to list branches in "git branch" has been consolidated
>  with the more generic ref-filter API.
>
>  What's the doneness of the topic?  I recall discussing die vs empty
>  and also saw a "squash this in when you reroll", but I lost track.
>

I was waiting for more reviews, if any. For now we need to come to a conclusion on the die vs empty discussion (http://marc.info/?l=git&m=148112502029302&w=2) I'll start working on returning empty rather than die.

Also Jeff suggested some changes, which I've incorporated into my local branch. (http://marc.info/?t=148112503600001&r=1&w=2). I'll reroll if no further changes are suggested soon :)

-- 
Regards,
Karthik Nayak
Previous: Junio C HamanoNext: Ramsay Jones
Message 2 of 4 in “What's cooking in git.git (Dec 2016, #04; Fri, 16)”
  1. Junio C HamanoDec 16, 2016
  2. Karthik NayakDec 17, 2016
  3. Ramsay JonesDec 17, 2016
  4. Karthik NayakDec 17, 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.