All of lore.kernel.org
 help / color / mirror / Atom feed
* changed output in git branch -a
@ 2025-06-30 10:23 Olaf Hering
  2025-06-30 11:13 ` Kristoffer Haugsbakk
  2025-06-30 13:31 ` Junio C Hamano
  0 siblings, 2 replies; 4+ messages in thread
From: Olaf Hering @ 2025-06-30 10:23 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

Hello,

my dumb script parses the output of "git --git-dir=some/dir/.git branch -a".
With git 2.43 it gets the expected list of "remote/branch".
With git 2.50 it also gets something like "remote/HEAD -> remote/branch".

The newer version runs on a different system. It might be that the repository
was already cloned with a different format. For some reason it does have
.git/refs/remotes/${remote}/HEAD, but the system with the older git lacks
that entry.

Is there a way to suppress such lines, or do I need to filter them manually?
There is no obvious knob mentioned in git-branch(1).


Thanks,
Olaf

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-06-30 14:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-30 10:23 changed output in git branch -a Olaf Hering
2025-06-30 11:13 ` Kristoffer Haugsbakk
2025-06-30 13:31 ` Junio C Hamano
2025-06-30 14:19   ` Olaf Hering

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.