Skip to content

Conversation

@jcouball
Copy link
Member

@jcouball jcouball commented Jul 6, 2021

Signed-off-by: James Couball jcouball@yahoo.com

Your checklist for this pull request

🚨Please review the guidelines for contributing to this repository.

  • Ensure all commits include DCO sign-off.
  • Ensure that your contributions pass unit testing.
  • Ensure that your contributions contain documentation if applicable.

Description

This is a fix for running unit tests on Mac where /tmp is actually a symlink to /private/tmp. Git#dir returns the directory you give it and Worktree#dir returns the expanded path since that is what git workspace list returns.

Some additional thought will have to be put into considering if Git#dir should also return the expanded path.

Signed-off-by: James Couball <jcouball@yahoo.com>
@jcouball jcouball merged commit 8fe479b into ruby-git:master Jul 6, 2021
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