Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] Default branch symref

With github on the verge of changing its default initial branch name from master to main, I was looking at jgit support for symrefs in pack connections.

It looks to me like a HEAD symref is included in the capability line in UploadPack but it is not parsed in BasePackConnection.

I have a small patch that adds any SymRefs into the advertisedRefs and uses any HEAD symref in CloneCommand before looking for a branch called master. Is there any interest in adding this?

Back to the top