summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-11-15 01:15:15 -0500
committerKyle Meyer <kyle@kyleam.com>2020-11-15 17:12:25 -0500
commit060055dcf7817aa75462994a5e2051e2ae8daefa (patch)
tree9d23659a3ab2ea46d1efabe6ac8fc1d0442b5f04 /tests
parent291878e359aa05bffe8ad971e309e31197d573a5 (diff)
downloadpiem-060055dcf7817aa75462994a5e2051e2ae8daefa.tar.gz
am: Support creating a new worktree
On the guix-patches list, simon described a workflow in which a new worktree is used to apply patches. Such a workflow is fairly straightforward to support in piem-am (and thus piem-b4-am-from-mid). Aside form reading the worktree from the caller, the main change needed is to replace 'git checkout (-b BRANCH|--detatched) [base]' with 'git worktree add (-b BRANCH|--detatched) PATH [base]'. Teach piem-am to use a worktree when piem-am-create-worktree is non-nil. Suggested-by: zimoun <zimon.toutoune@gmail.com> Ref: https://yhetil.org/guix-patches/86361cys9h.fsf@tournier.info Message-Id: <20201115061518.22191-4-kyle@kyleam.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions