Skip to content

Teach "stg delete" to delete several patches at once

Karl Hasselström git 1 version In review

Get series with b4
b4 am 20061022125337.15194.64831.stgit@localhost

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Regression test for "stg delete"t/t1600-delete.sh+109 -00 replies
2/2Allow deletion of several patches at oncestgit/commands/delete.py t/t1600-delete-one.sh t/t1600-delete.sh +1 more+193 -1205 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Teach "stg delete" to delete several patches at once

The first patch introduces a test for "stg delete", since there wasn't already one, and it's much less stressful to modify stuff if you have an automatic test that can tell you if you broke stuff.

As it turns out, this test finds an existing bug: it's not possible to delete a patch in another branch if there's an identically named branch in the current branch, and both patches are topmost in their respective applied stacks.

The second patch teaches "delete" how to delete multiple patches in one go.

Signature · 2 lines
Karl Hasselström, [email protected]
      www.treskal.com/kalle