From: Gustav HÃ¥llberg Date: Mon, 24 May 2010 18:52:09 GMT Subject: [PATCH 0/2] Setting git tree of a patch (improved version) Message-ID: <20100524184908.30884.65042.stgit@sambuntu> In-Reply-To: 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(-) --