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

Re: [GSOC] [PROPOSAL v2] Draft of proposal for "Unify ref-filter formats with other pretty formats"

From
Christian Couder <christian.couder@gmail.com>
Date
Apr 2, 2023, 19:40 UTC
Message-ID
<CAP8UFD2Tjqf0A+xv69pHDZFUDG2rPU7tj=9KSYh36_zTg0hG6g@mail.gmail.com>
In-Reply-To
<3cea7bba.1e54.18742678107.Coremail.18994118902@163.com>
On Sun, Apr 2, 2023 at 4:38 PM ZhangYI <18994118902@163.com> wrote:
Show 5 quoted lines
> I have one questions here:
> I used gdb to track the function call related to ref-filter of the command
> "git log -2 --pretty=%h " by setting breaks on all no-static functions in
> ref-filter.c but found no stop.
> Should I use another command?

`git log` uses pretty formats. If you want to see how ref-filter formats work you should run for example `git for-each-ref`.

> Or as I know, Git use different branch for different purpose, like todo, next.
> Should I use another branch?
No this is not an issue with development branches.
Previous: ZhangYI
Message 4 of 4 in “[GSOC] [PROPOSAL v2] Draft of proposal for "Unify ref-filter formats with other pretty formats"”
  1. Zhang YiMar 31, 2023
  2. Christian CouderApr 1, 2023
  3. ZhangYIApr 2, 2023
  4. Christian CouderApr 2, 2023

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.