Skip to content

Conversation

cwlbraa
Copy link
Contributor

@cwlbraa cwlbraa commented Sep 3, 2025

this PR uses include.path to link user-repo config into the cu fork, so cu commands get essentially the same configuration as the user repo. tests cover all the wild edge cases i could imagine for this -- we support users changing config after fork creation, moving the source repo, etc, etc

this PR also disables git hooks when running hookful commands (commit, merge, etc) -- there's no guarantee that these pass in our copy of the worktree due to missing prerequisite setup commands (that produce gitignored files) and surfacing errors correctly is difficult. it'd be awesome if we could run the hooks inside the env container, but there's no real git repo there.

fixes #256

Signed-off-by: Connor Braa <[email protected]>
Signed-off-by: Connor Braa <[email protected]>
…namic behavior and existing repositories

Signed-off-by: Connor Braa <[email protected]>
@cwlbraa cwlbraa requested a review from grouville September 3, 2025 18:02
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.

container-use uses the global instead of repo-specific git config

1 participant