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

Re: [PATCH v3 2/5] ref-filter: add function to print single ref_array_item

From
Jakub Narębski <jnareb@gmail.com>
Date
Sep 30, 2016, 23:12 UTC
Message-ID
<0e3cc036-787b-d93b-dc87-47a0826ec919@gmail.com>
In-Reply-To
<20160930221806.3398-3-santiago@nyu.edu>
W dniu 01.10.2016 o 00:18, santiago@nyu.edu pisze:
Show 8 quoted lines
> From: Lukas Puehringer <luk.puehringer@gmail.com>
> 
> ref-filter functions are useful for printing git object information
> using a format specifier. However, some other modules may not want to use
> this functionality on a ref-array but only print a single item.
> 
> Expose a format_ref function to create, pretty print and free individual
> ref-items.
It's now pretty_print_ref, not format_ref (old version in commit message).
[...]
> +void pretty_print_ref(const char *name, const unsigned char *sha1,
> +		const char *format, unsigned kind)
Previous: santiago@nyu.eduNext: Junio C Hamano
Message 4 of 11 in “Add --format to tag verification”
  1. 0/5 Add --format to tag verificationsantiago@nyu.edu, Sep 30, 2016
  2. 1/5 gpg-interface, tag: add GPG_VERIFY_QUIET flagsantiago@nyu.edu, Sep 30, 2016
  3. 2/5 ref-filter: add function to print single ref_array_itemsantiago@nyu.edu, Sep 30, 2016
  4. Jakub NarębskiSep 30, 2016
  5. Junio C HamanoOct 1, 2016
  6. 3/5 tag: add format specifier to gpg_verify_tagsantiago@nyu.edu, Sep 30, 2016
  7. 5/5 builtin/tag: add --format argument for tag -vsantiago@nyu.edu, Sep 30, 2016
  8. 4/5 builtin/verify-tag: add --format to verify-tagsantiago@nyu.edu, Sep 30, 2016
  9. Junio C HamanoSep 30, 2016
  10. Santiago TorresOct 3, 2016
  11. Junio C HamanoOct 3, 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.