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

Re: Git log --decorate show prefetch objects

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 4, 2024, 16:56 UTC
Message-ID
<xmqqh6gh12yp.fsf@gitster.g>
In-Reply-To
<5a16d4e3-6fa4-45f3-ae79-576f3fa80d44@badez.eu>
Alexandre Badez <alexandre@badez.eu> writes:
Show 8 quoted lines
> # What did you do before the bug happened? (Steps to reproduce your issue)
>
> <on a git repository not fetch from a "long" time so you have missing
> branches and/or objects>
>
> git maintenance run --task=prefetch
>
> git log --oneline --decorate --all --graph

I do not use the prefetch stuff, but unfortunately the person who was most familiar with "maintenance" are no longer active on this list, so let me take a crack.

I think your complaint is that "--all" really means "all", not just "heads" and "tags" but also includes "prefetch", while the prefetch hierarchy is not included in the "--decorate" sources.

What does
    $ git log --oneline --branches --tags --decorate --graph

show, and is it closer to what you expected (note: this is not a direct suggestion of a workaround---trying to gauge what the direction is to move forward)?

Thanks.
Previous: Alexandre BadezNext: Alexandre Badez
Message 2 of 3 in “Git log --decorate show prefetch objects”
  1. Alexandre BadezApr 4, 2024
  2. Junio C HamanoApr 4, 2024
  3. Alexandre BadezApr 4, 2024

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.