Two bugfixes
Get series with b4
b4 am 20080320002604.13102.53757.stgit@yoghurtVersions newest first
- v1 Latest6 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | Use a special exit code for bugsstgit/ stgit/ | +8 | 0 replies | |
| 2/6 | Make sure patches with no parents have an empty list of parentsstgit/ | +1 | 0 replies | |
| 3/6 | Try uncommitting a commit with not exactly one parentt/ | +5 | 0 replies | |
| 4/6 | Make sure that we only uncommit commits with exactly one parentstgit/ t/ | +13 | 0 replies | |
| 5/6 | New test: conflicting push in dirty worktreet/ | +35 | 0 replies | |
| 6/6 | Handle failed pushes differently depending on causestgit/ stgit/ t/ | +18 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [StGit PATCH 0/6] Two bugfixes
This series fixes one rather benign bug (4/6) and one that caused patches to become empty, which is rather worse (6/6). (The patch contents could still be recovered via the patch log or reflog, but it's still a major inconvenience.)
Both bugs were discovered by Erik Sandberg.
These patches are also available in the kha/safe branch.
---
Karl Hasselström (6):
Handle failed pushes differently depending on cause New test: conflicting push in dirty worktree
Make sure that we only uncommit commits with exactly one parent Try uncommitting a commit with not exactly one parent Make sure patches with no parents have an empty list of parents Use a special exit code for bugs
stgit/commands/uncommit.py | 14 ++++++++++++-- stgit/lib/git.py | 23 +++++++++++++++-------- stgit/lib/transaction.py | 4 +++- stgit/main.py | 11 +++++++---- stgit/utils.py | 1 + t/t1300-uncommit.sh | 5 +++++ t/t3000-dirty-merge.sh | 35 +++++++++++++++++++++++++++++++++++ 7 files changed, 78 insertions(+), 15 deletions(-) create mode 100755 t/t3000-dirty-merge.sh
Signature · 2 lines
Karl Hasselström, [email protected] www.treskal.com/kalle