Re: Git log --decorate show prefetch objects
- From
- Alexandre Badez <alexandre@badez.eu>
- Date
- Apr 4, 2024, 21:37 UTC
- Message-ID
- <a8c030bb-b7ff-4628-a104-65e64a1feb93@badez.eu>
- In-Reply-To
- <xmqqh6gh12yp.fsf@gitster.g>
On 04/04/2024 18:56, Junio C Hamano wrote:
Show 27 quoted lines
> 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.