From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms12 with LMTPS id gJQxLYXHsF8dIgAAsNZ9tg (envelope-from ) for ; Sun, 15 Nov 2020 06:15:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sH74KIXHsF9LagAA1q6Kng (envelope-from ) for ; Sun, 15 Nov 2020 06:15:33 +0000 Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8933A9404C2 for ; Sun, 15 Nov 2020 06:15:32 +0000 (UTC) Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id D6CA410750F; Sun, 15 Nov 2020 01:15:29 -0500 (EST) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=sasl; bh=QvnCfKc6BjYuEb8TIpPFG/HGUP0=; b=oq0wxXDt3Uf+Bbg1tlCS KzApzSYkoF78ZD0iF1vKSIFbYzxsyQ2CpeshC8d99djG8yIkaREzIWLp0X4jzQxQ T1aJ9J5JH3cuye25L4axXCD+jGtDY1kaLM5kXhohGmIt4VjsRT6An92GT5XqSh1X yXxp/E0yLVjvUj1ZcFwtmzg= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id CF3F610750E; Sun, 15 Nov 2020 01:15:29 -0500 (EST) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:cc:subject:date:message-id:mime-version:content-transfer-encoding; s=mesmtp; bh=TTjxyYgFtueGCAHqN7urXw+qvJUPHnHOgDsAU5qL7X8=; b=q+f+JdtE4YMTbjyirJtZCIf1gO1SVuC0RAqgCCF1L6N8Y7hQgJRwLDi9wQMjKr65w27rVOQZJLBZPNYvFlJ0xMOXMi+jlgB2bvbKnPg2+qd51Ck/Y4fKerCw9J8LjMHa6n9Iqkg31fEyhhuBzv4NRqmc3g0uLOMaZeF443B+e6E= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id 4888510750D; Sun, 15 Nov 2020 01:15:27 -0500 (EST) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: piem@inbox.kyleam.com Cc: zimoun Subject: [PATCH 0/6] Support applying patches in a new worktree Date: Sun, 15 Nov 2020 01:15:12 -0500 Message-Id: <20201115061518.22191-1-kyle@kyleam.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Pobox-Relay-ID: F460F02E-2709-11EB-8207-E43E2BB96649-24757444!pb-smtp20.pobox.com Content-Transfer-Encoding: quoted-printable X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=oq0wxXDt; dkim=fail (body hash did not verify) header.d=kyleam.com header.s=mesmtp header.b=q+f+JdtE; dmarc=none; spf=pass (aspmx1.migadu.com: domain of kyle@kyleam.com designates 173.228.157.52 as permitted sender) smtp.mailfrom=kyle@kyleam.com X-Spam-Score: 2.50 X-TUID: h/SGSrd/pD6y This series is prompted by simon's patch workflow described at : > Yes, somehow. Generally, I create a new checked out worktree with a ne= w > branch starting at base-commit, then I apply the patches in. Well, my > sequence looks like: > > M-C-SPC M-w > C-x b > % c /path/to/wk/foo RET C-y RET foo RET > C-x b > | git gam foo > > and I am not enough annoyed (yet!) to write some Emacs helper > functions. However, if b4+piem could do that for me, should be > awesome. :-) With patch 4, something like that should be possible with both piem-am and piem-b4-am-from-mid. When the new piem-am-create-worktree option is set to a non-nil value, the caller will be prompted for a directory where the new worktree should be created. Patch 5 makes it possible to trigger this in a one-off fashion with a prefix argument because, while I don't want this behavior most of the time, I could see myself using it every now and then. [1/6] piem-am: Rephrase CODEREPO description [2/6] piem-am: Store "empty string" branch check [3/6] am: Support creating a new worktree [4/6] am: Add option to configure how worktree is read [5/6] am: Allow flipping worktree creation with prefix argument [6/6] manual: Document worktree-related options piem-b4.el | 15 ++++++++--- piem.el | 77 ++++++++++++++++++++++++++++++++++++++++++------------ piem.texi | 15 ++++++++++- 3 files changed, 85 insertions(+), 22 deletions(-) base-commit: b54ad663fe22811dde804721d4db528ea18a433c --=20 2.29.2