threads / patch / 47815

v3, 23 partscat-file: reuse formatting logic from ref-filter

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

## tl;dr

One message between Feb 12, 2018 and Feb 12, 2018. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Оля Тележная· Feb 12, 2018, 08:08 UTC · lore

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.

← back to recent threads