Thread (2 messages) 2 messages, 2 authors, 2025-06-30

Re: changed output in git branch -a

From: Olaf Hering <hidden>
Date: 2025-06-30 14:20:03

Mon, 30 Jun 2025 06:31:29 -0700 Junio C Hamano [off-list ref]:
You can try in the repository where you use Git 2.43
    $ git remote set-head origin -a
    $ git branch -a
to see if the difference indeed is coming from different versions.
Thanks, it does not depend on the version. For some reason the repository
on the system with the older git had no default branch set. The repository
was cloned a long time ago, maybe default branches were never set initially.

I changed my script to use for-each-ref.


Olaf

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help