Skip to content

chore: fix make setup in a worktree#1478

Merged
jpnurmi merged 1 commit intomasterfrom
chore/worktree
Jan 13, 2026
Merged

chore: fix make setup in a worktree#1478
jpnurmi merged 1 commit intomasterfrom
chore/worktree

Conversation

@jpnurmi
Copy link
Collaborator

@jpnurmi jpnurmi commented Jan 12, 2026

Add worktree:

$ git worktree add ../sentry-native-foo && cd ../sentry-native-foo
$ file .git
.git: ASCII text

Before:

$ make setup
/bin/sh: line 0: cd: .git/hooks: Not a directory
make: *** [.git/hooks/pre-commit] Error 1

After:

$ make setup
git submodule update --init --recursive
...
python3 -m venv .venv
...

@jpnurmi jpnurmi merged commit bbccfad into master Jan 13, 2026
43 checks passed
@jpnurmi jpnurmi deleted the chore/worktree branch January 13, 2026 09:58
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.

2 participants