Skip to content

Setting git tree of a patch (improved version)

Gustav Hållberg git 1 version Applied

Status from this message: I merged it. Thanks.

Get series with b4
b4 am 20100524184908.30884.65042.stgit@sambuntu

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2Repository.rev_parse: support commits, trees, and blobsstgit/lib/git.py+6 -40 replies
2/2edit: Allow setting git tree of a patchstgit/commands/edit.py t/t3300-edit.sh+43 -110 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] Setting git tree of a patch (improved version)

I solved (I think) how to accept (and verify the correctness of) a tree-ish as argument for 'edit --set-tree'. The first patch in the series adds support to Repository.rev_parse() for doing that.

The main (the second) is essentially the same as before.

I moved the --set-tree option to be last in the list of options, making it even more obscure-looking.

---

Gustav Hållberg (2):
Repository.rev_parse: support commits, trees, and blobs
edit: Allow setting git tree of a patch

 stgit/commands/edit.py |   39 ++++++++++++++++++++++++++++-----------
 stgit/lib/git.py       |   10 ++++++----
 t/t3300-edit.sh        |   15 +++++++++++++++
 3 files changed, 49 insertions(+), 15 deletions(-)