Skip to content

Bump go-git to v5.19.0 and go-billy to v5.9.0#197

Merged
andrew merged 1 commit into
mainfrom
bump-go-git-v5.19.0
May 9, 2026
Merged

Bump go-git to v5.19.0 and go-billy to v5.9.0#197
andrew merged 1 commit into
mainfrom
bump-go-git-v5.19.0

Conversation

@andrew
Copy link
Copy Markdown
Contributor

@andrew andrew commented May 9, 2026

go-billy v5.9.0 changed osfs to resolve symlinks in Root(), so on macOS WorkDir() now returns /private/var/... instead of /var/.... Same path, just the resolved form. Production callers only use it to open files or as cmd.Dir, so nothing changes there; three test assertions that compared against unresolved t.TempDir() paths needed normalizing.

createTestRepo now resolves its temp dir before returning, which also let the worktree test drop its separate resolvedRepoDir step since both sides agree now.

go-git v5.19.0 requires go-billy v5.9.0 so they move together. Neither contains the upstream fixes worked around in #194/#196; this is just keeping current. Transitively pulls golang.org/x/{crypto,mod,net,sys,text,tools} and pjbgf/sha1cd forward.

@andrew andrew merged commit 85f4907 into main May 9, 2026
7 checks passed
@andrew andrew deleted the bump-go-git-v5.19.0 branch May 9, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant