You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex turn-diff tree refs break libgit2-based Git clients #7297
showed that these refs point directly to Git tree objects, for example:
refs/codex/turn-diffs/checkpoints/... d1385fb55aef5f5e121dda8f44de1f9c6b9720b3 tree
refs/codex/turn-diffs/captures/.../base 2033976581293cb7624fbd566bed1154125af248 tree
Normal branch and remote refs pointed to commits. git fsck --full --no-reflogs did not report repository corruption. Deleting the local Codex turn-diff refs fixed the issue:
@carlosmn tortoisegit in-fact does have the problem:
"Reference Browser" we load all references and try to load metadata for the columns. Here, we check whether the reference is a symbolic link or a tag and the fallback is to treat it as a commit.
That looks like a completely different issue where the server did not send all the objects it should have, or the local repository was corrupted in some other way. Neither of that seems like a libgit2 issue.
Activity
carlosmn commentedon Jun 16, 2026
Are you sure this breaks libgit2 and it's not tortoise assuming that a reference points to a commit and asking for that?
Have you tried it with any other implementation, or have a reproduction just using libgit2?
elachlan commentedon Jun 16, 2026
@carlosmn I am not sure of anything. I've raised issues in all three projects.
elachlan commentedon Jun 17, 2026
@carlosmn tortoisegit in-fact does have the problem:
But anther codex user ran into the same problem using vscode: openai/codex#28241 (comment)
carlosmn commentedon Jun 17, 2026
That looks like a completely different issue where the server did not send all the objects it should have, or the local repository was corrupted in some other way. Neither of that seems like a libgit2 issue.
elachlan commentedon Jun 18, 2026
Closing this as a fix has been submitted to TortoiseGit and the other issue seems to be directly a git issue.