Re: changed output in git branch -a

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mon, 30 Jun 2025 06:31:29 -0700 Junio C Hamano <gitster@xxxxxxxxx>:

> 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

Attachment: pgpaaXSKYHAQK.pgp
Description: Digitale Signatur von OpenPGP


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux