Skip to content

Conversation

@skshetry
Copy link
Collaborator

Before, we did not use to consider current working directory of the user for untracked paths. git.status() provides us path with relative path to the root of the repo. We have to change that to be relative to user's working directory.

This may be slow, so there's a fast path that skips when current working directory is the root of the repo.

@skshetry skshetry added the bugfix fixes bug label Aug 25, 2022
@skshetry skshetry requested a review from efiop August 25, 2022 12:51
@skshetry skshetry self-assigned this Aug 25, 2022
@skshetry skshetry requested a review from a team as a code owner August 25, 2022 12:51
@skshetry skshetry force-pushed the untracked-relpath-fix branch from b4a62c5 to d0d738c Compare August 25, 2022 13:10
@skshetry skshetry merged commit 54ee8c0 into treeverse:main Aug 25, 2022
@skshetry skshetry deleted the untracked-relpath-fix branch August 25, 2022 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix fixes bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant