Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ignore GIT_OPT_DISABLE_READNG_PACKED_TAGS if packed-refs is not sorted
If packed-refs is not sorted, refs/tags can preceed refs/heads. We definitely want to read the latter, so we cannot stop parsing early. I don't know how but some users manage to create packed-refs that's not sorted. Moreover, they manage to place refs/heads/master into packed-refs. See romkatv/powerlevel10k#1428.
- Loading branch information