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

Bug when jj undo-ing jj git fetch --branch #1300

Closed
ilyagr opened this issue Feb 22, 2023 · 0 comments · Fixed by #1326
Closed

Bug when jj undo-ing jj git fetch --branch #1300

ilyagr opened this issue Feb 22, 2023 · 0 comments · Fixed by #1326
Labels
🐛bug Something isn't working

Comments

@ilyagr
Copy link
Contributor

ilyagr commented Feb 22, 2023

Since #1146, there is a known bug when executing jj undo after jj git fetch --branch. Subsequent jj git fetch -branch-es might pull more branches than expected.

The issue likely stems from the fact that jj undo does not undo the fetch inside the git repo. This might be related to #922 (even though this bug has nothing to do with colocated repos).

For more details, see test_git_fetch_undo in tests/test_git_fetch.rs or search for this bug's number in that file.

@ilyagr ilyagr added the 🐛bug Something isn't working label Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant