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

cli/storage: fix login with git-worktree #6284

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

sluongng
Copy link
Contributor

@sluongng sluongng commented Apr 1, 2024

Instead of detecting for WORKSPACE and check for .git directory,
leverage git to detect the root of the repo.
This location should be ideal to read/write git config to local config
file.

Closes #6282.

Instead of detecting for WORKSPACE and check for `.git` directory,
leverage `git` to detect the root of the repo.
This location should be ideal to read/write git config to local config
file.

Closes #6282.
@sluongng sluongng requested a review from bduffany April 1, 2024 14:19
cli/storage/storage.go Show resolved Hide resolved
@sluongng sluongng merged commit 5610ddb into master Apr 3, 2024
15 of 16 checks passed
@sluongng sluongng deleted the sluongng/fix-login-worktree branch April 3, 2024 15:04
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.

[CLI] bb login fails in git-worktree linked worktrees.
2 participants