Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gitdir of linked-worktree #1

Merged
merged 1 commit into from
Feb 27, 2020

Conversation

sbourlon
Copy link

The gitdir of linked-worktree was targeting a static path
(e.g. /home/fiveturns/fixtures/main/.git/worktrees/linked-worktree-1)
which is breaking tests using dynamic paths.

The gitdir of linked-worktree was targeting a static path
(e.g. /home/fiveturns/fixtures/main/.git/worktrees/linked-worktree-1)
which is breaking tests using dynamic paths.
@saracen
Copy link
Owner

saracen commented Feb 27, 2020

@sbourlon Hey, thanks for fixing that.

Can you delete worktree-6e2f6a44e71cdf5f0895d37ea433937e58c051c0.tgz though and rename your file to worktree-363d996b02d9c3b598f0176619f5c6a44a82480a.tgz?

The filename contains the sha-1 hash of the tar archive (before gzip compression). Although it doesn't change the outcome of the tests, it's what I found the existing fixtures to be named after.

@saracen
Copy link
Owner

saracen commented Feb 27, 2020

Actually, I have some time now to do this. One sec :)

@saracen saracen merged commit 6904f09 into saracen:linked-worktree Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants