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

[PATCH v3 0/23] cat-file: reuse formatting logic from ref-filter

From
Оля Тележная <olyatelezhnaya@gmail.com>
Date
Feb 12, 2018, 08:08 UTC
Message-ID
<CAL21Bm=M73qePzz0Kz1sZRJa8rK+Ddac3ARf4Lu6HRr-NGSKPg@mail.gmail.com>

The main idea of the patch is to get rid of using custom formatting in cat-file and start using general one from ref-filter. Additional bonus is that cat-file becomes to support many new formatting commands like %(if), %(color), %(committername) etc.

Updates since last review: In [PATCH v3 16/23] ref-filter: make cat_file_info independent is_cat flag is hidden into global cat_file_info variable

Also make some minor refactoring.
Message 1 of 1 in “cat-file: reuse formatting logic from ref-filter”
  1. 0/23 cat-file: reuse formatting logic from ref-filterОля Тележная, Feb 12, 2018

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.