Auto rebase when creating
Description
Automatically rebase if tracking information is set and one needs to push
Related Issue
Resolves #425
How Has This Been Tested?
Not yet, waiting for opportunity on Alpine Linux
Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation
- [ ] Chore (Related to CI or Packaging to platforms)
I have added the needs: testing label since this breaks the test
https://gitlab.com/profclems/glab/-/jobs/935015602
Codecov Report
Merging #428 (968cc86) into trunk (8195c5b) will decrease coverage by
0.08%. The diff coverage is0.00%.
@@ Coverage Diff @@
## trunk #428 +/- ##
==========================================
- Coverage 60.05% 59.96% -0.09%
==========================================
Files 90 90
Lines 6431 6440 +9
==========================================
Hits 3862 3862
- Misses 2206 2215 +9
Partials 363 363
| Impacted Files | Coverage Δ | |
|---|---|---|
| commands/mr/create/mr_create.go | 28.38% <0.00%> (-0.39%) |
:arrow_down: |
| pkg/git/git.go | 31.51% <0.00%> (-0.54%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 8195c5b...968cc86. Read the comment docs.
This PR has been automatically marked as stale because it has not had recent activity. This message is just a reminder for the author, reviewers and assignees.