From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by gnuweeb.org (Postfix) with ESMTPS id 3C43881892 for ; Tue, 20 Dec 2022 00:18:35 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=EfweZzB/; dkim-atps=neutral Received: by mail-pl1-f170.google.com with SMTP id m4so10653524pls.4 for ; Mon, 19 Dec 2022 16:18:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=J0aJxfowWprVTVxHhpA/yU43DDJoBauGEL5MLPyqCJ0=; b=EfweZzB/3TLVzeoh10JMxZEXvrUi2BbEOWU8NDpA/TnYQrT9bgFZMt1vL4PspcVX4C IKuVtUJkKkacRMV+mgKuMeajF6A//IuelntXWy7thO+XjEAU+GrAVL7rgvFx6WAd3BBp L/kRWPaSPJx/W15lx/xwP31v51DrpXADcGVMiHdJAQGRebr3rEeJL3awJ+eqaB0vQAO0 Nec7IQmAoVyc3rH4f1arRjWoHTsyhIggEddQt8vpEUnfYviRccQHuFwnOGkV9EXHrB8u uE5F1H7ljWp0/ujxEfk85FlZYXlFC2zesKwsjyky87rjen8CCVMeDTMTQb2mIOv/xrQg b5qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=J0aJxfowWprVTVxHhpA/yU43DDJoBauGEL5MLPyqCJ0=; b=EOAPOBW53klD3Lsym3gPI6t6ZMqp3c+Nwvh4IPz2BTvhUGgeoYaVQRCj4/E47LlcXF 33uj6oB/KYBcEYNT9znCVwqmF/KlYwsJ/xh6CDroDUFIpmnbMaSJooncEurxO+daf4eW oQl3Bu+6tIj4ZJcTxL0D0k7s/xv3wo2I4YYW2vrXP93yj0pPu2flKY8+v2k4/C1NbSE6 37VP8DA5t59U2IpWvQvSVbdZ5FwDdXyp0R3S44CWYFVDyWBhv63heE0Vv95fWB4QgGAZ DMUhtt3cQChjGxVFjxXQvCTzPLQIAJV8HbDYlyhRzMYAGv94PMONvCeKDrKe4kJBzisk pAJg== X-Gm-Message-State: AFqh2kpqe9SVdb38vRZrWZgU2IouEJY8un8h0x4sfT1rkfGFjZBfTnap NDoCc1rerp8p12L12BvfL5E= X-Google-Smtp-Source: AMrXdXvtTIi9H1XlwQu0fTaDuttcHho7zk89FoaEcQyrlD4t1C/Mnf0TfdzF3SBvpnZXoejkhXEchw== X-Received: by 2002:a17:902:bcc5:b0:191:3c8:b2ae with SMTP id o5-20020a170902bcc500b0019103c8b2aemr14917148pls.28.1671495514665; Mon, 19 Dec 2022 16:18:34 -0800 (PST) Received: from [192.168.1.2] ([101.128.125.209]) by smtp.gmail.com with ESMTPSA id jf20-20020a170903269400b0018725c2fc46sm7729619plb.303.2022.12.19.16.18.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Dec 2022 16:18:34 -0800 (PST) Message-ID: Date: Tue, 20 Dec 2022 07:18:28 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v3 02/17] fix: utils: Fix .patch file payload To: Alviro Iskandar Setiawan , Muhammad Rizki Cc: Ammar Faizi , GNU/Weeb Mailing List References: <20221219235721.126-1-kiizuha@gnuweeb.org> <20221219235721.126-3-kiizuha@gnuweeb.org> Content-Language: en-US From: Kiizuha In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 20/12/2022 07.15, Alviro Iskandar Setiawan wrote: > On Tue, Dec 20, 2022 at 6:57 AM Muhammad Rizki wrote: >> From the previous version 59d20af, the .patch file payload uses the >> prepare_patch() `text` parameter that taken from the create_template() >> `caption` returned which is the caption is already trimmed. With the >> current fix, this should be use the full email payload instead so its >> not bothering with the trimmed payload from the create_template(). >> >> Fixes: 59d20af ("daemon: Move prepare for patch and clean up patch functions") >> Signed-off-by: Muhammad Rizki > > Referencing a commit must use at least 12 characters of the SHA-1 commit hash. Ah yes, I forget.