Git Mailing List Archive mirror
 help / color / mirror / Atom feed
From: Alexandre Badez <alexandre@badez.eu>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org, Derrick Stolee <stolee@gmail.com>
Subject: Re: Git log --decorate show prefetch objects
Date: Thu, 4 Apr 2024 23:37:53 +0200	[thread overview]
Message-ID: <a8c030bb-b7ff-4628-a104-65e64a1feb93@badez.eu> (raw)
In-Reply-To: <xmqqh6gh12yp.fsf@gitster.g>

On 04/04/2024 18:56, Junio C Hamano wrote:

> Alexandre Badez <alexandre@badez.eu> writes:
>
>> # 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.


Indeed, I missed the --branches (and --remotes) options; they do a 
better job in my case.

Maybe --all have a "legacy behaviour" so it's on me to move to new and 
better options.

Thanks.



      reply	other threads:[~2024-04-04 21:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-04 10:16 Git log --decorate show prefetch objects Alexandre Badez
2024-04-04 16:56 ` Junio C Hamano
2024-04-04 21:37   ` Alexandre Badez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a8c030bb-b7ff-4628-a104-65e64a1feb93@badez.eu \
    --to=alexandre@badez.eu \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=stolee@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).