From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms4.migadu.com with LMTPS id qJgbNeA6HGZZLwEA62LTzQ:P1 (envelope-from ) for ; Sun, 14 Apr 2024 22:21:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id qJgbNeA6HGZZLwEA62LTzQ (envelope-from ) for ; Sun, 14 Apr 2024 22:21:52 +0200 X-Envelope-To: piem@inbox.kyleam.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of git@relevant-information.com designates 80.241.56.152 as permitted sender) smtp.mailfrom=git@relevant-information.com ARC-Seal: i=1; s=key1; d=kyleam.com; t=1713126112; a=rsa-sha256; cv=none; b=U1R0FC5smncCAKwjUVXbG0H5gcA5oTEbVa1umo6F63FhLw/TqHA0d9x6d4dk7XGhDHmf6m xOl28fC0NSfVWiPynulxq2hcTaTpgPqcLmzIOFIDHcV8GdOTKofTYwtAWTN6fWSvONC1HI Eg1MOHe3Xua/TPRbT6zyrlqowgDUFGxGZH475Je75JhnPlXQwNn4goBc2LXRuw3kpEn+Do NdmsUUs2I3WgzhCzKbnfKtttVqPCXDjjOLcOAs/MRFnOyv2hhqG8Js2kUWmn2l8jJ1n+0P x8dLPbNesw5F67TK4vWHhZwmNphMpwlNbo/b7bD4fJQ2zZyo6eSa/o6mHQtNjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of git@relevant-information.com designates 80.241.56.152 as permitted sender) smtp.mailfrom=git@relevant-information.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1713126112; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=SUih1d9CH3+njtETLYIXZ8agOBN45ELzHcUZDIPScRs=; b=APhPNj7PGQVFSIVUFQyjTa9iDjiJ8geIEFkDy3yx+6q2AV1S0k0To+n+RWoeilNyqpOsKF ajc0HnsMe0zWFGo5W6fVIenXlaMAz3pH+JLRd7TOOhZZlfu6ifPqjZSHzZXMHGOcNSK3AD Lvlt5KZHQb2T3tJRXi45xQ/w4NcvdllBG4RWlfBiji019V0NkTs5a0oPaRUST0ppFoOl7b 5krtvtPTTU6d0Tf4O0ufqPka8ptOcmGBPj7D6OfovNuOITINIYb++1uf9sAkl3BZlU/uTz HB8FK8/JPhm1BFvJ3ZerQjLR+bofEEOVkOPIUq45G6taLEzUwzDgzgOu2O7n3A== Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8119B26DC1 for ; Sun, 14 Apr 2024 22:21:48 +0200 (CEST) Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4VHhXf262pz9snw for ; Sun, 14 Apr 2024 22:21:38 +0200 (CEST) From: Leo To: piem@inbox.kyleam.com Subject: piem-am with multiple attached patches squashes the commits Date: Sun, 14 Apr 2024 22:21:34 +0200 Message-ID: <8734rnlmpd.fsf@> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4VHhXf262pz9snw X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE X-Spam-Score: -3.39 X-Migadu-Queue-Id: 8119B26DC1 X-Migadu-Spam-Score: -3.39 X-Migadu-Scanner: mx10.migadu.com X-TUID: 8isiEFa/LSZH I'm writing this as I've observed this presumably unintended behaviour once. If you need more info I can try to reproduce in a more controlled environment. I got an email with a patch series with two commits, as attachments to a single email. Something like this in notmuch: [ 0001-first-patch.patch: text/x-patch (hidden) ] [ 0002-second-patch.patch: text/x-patch (hidden) ] I called piem-am on this, which managed to apply the patches. However, this resulted in a single commit with the commit message of the first patch, but the changes of both patches combined. The value of piem-am-ready-mbox-functions was set to piem-notmuch-am-ready-mbox I then tried calling notmuch-show-pipe-part with the command "git am" on each attachment. That successfully applied the patches correctly. I also diffed the two branches and got no differences, just to make sure that all the changes came through with both methods.