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

[PATCH RFC 0/20] cat-file: start using formatting logic from ref-filter

From
Olga Telezhnaya <olyatelezhnaya@gmail.com>
Date
Feb 22, 2019, 15:50 UTC
Message-ID
<CAL21BmnVkKtYWa1cRL1EJAwtchGcVUzhu0136AuV8uXAi5Kuew@mail.gmail.com>

Hi everyone, It was a long way for me, I got older (by 1 year) and smarter (hopefully), and maybe I will finish my Outreachy Internship task for now. (I am doing it just for one year and a half, that's OK)

If serious: In this patch we remove cat-file formatting logic and reuse ref-filter logic there. As a positive side effect, cat-file now has many new formatting tokens (all from ref-filter formatting), including deref (like %(*objectsize:disk)). I have already tried to do this task one year ago, and it was bad attempt. I feel that today's patch is much better.

In my opinion, it still has some issues. I mentioned all of them in TODOs in comments. All of them considered to be separate tasks for other patches. Some of them sound easy and could be great tasks for newbies.

I also have a question about site https://git-scm.com/docs/ I thought it is updated automatically based on Documentation folder in the project, but it is not true. I edited docs for for-each-ref in December, I still see my patch in master, but for-each-ref docs in git-csm is outdated. Is it OK?

Thank you! Olga

Next: Eric Sunshine
Message 1 of 8 in “cat-file: start using formatting logic from ref-filter”
  1. 0/20 cat-file: start using formatting logic from ref-filterOlga Telezhnaya, Feb 22, 2019
  2. Eric SunshineFeb 22, 2019
  3. Olga TelezhnayaFeb 22, 2019
  4. Jeff KingFeb 28, 2019
  5. Olga TelezhnayaMar 1, 2019
  6. Jeff KingFeb 28, 2019
  7. Olga TelezhnayaMar 1, 2019
  8. Junio C HamanoMar 3, 2019

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.