-
Notifications
You must be signed in to change notification settings - Fork 20
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
git: fix fetch on branch #98
base: master
Are you sure you want to change the base?
Conversation
Could you please state the issue this is solving and add a test case? |
40146e1
to
51a4342
Compare
Test is currently WIP. I took me some time to reproduce my issue. After I started fixing the last checkout to the default branch in |
Do you have any idea, whats failing in the |
With the changes you've made, HEAD of the generated git repo points to a different rev than previously. You need to either restore the previous HEAD position, or update all test cases to point to a different commit. (Disclaimer: I only briefly looked at the diff and test log, I might be wrong) |
51a4342
to
b5b17af
Compare
Please rebase again, I fixed a bug which was causing weird test failures |
Signed-off-by: Markus Theil <[email protected]>
The branch test was not working, until I fixed the default checked out branch in the repository. This was already marked by a comment as failing. Signed-off-by: Markus Theil <[email protected]>
b5b17af
to
eeb2752
Compare
npins was not able to use branches different from the default branch in my use case. A test is added, which tries to use test-branch, while the default upstream branch is main. I had to also fix the default branch for other tests while doing this.