From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7491F11CAF for ; Wed, 6 Sep 2023 21:09:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id DC6DFC433C8; Wed, 6 Sep 2023 21:09:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694034550; bh=B189qTrFZZ7vZhROiOPdBOxSMjsj6K3tjtQQToS+1MM=; h=From:To:In-Reply-To:References:Subject:Date:From; b=K4DGDZZP2h6+ac5LJYr61LfF2M7gNxclT1nT2KMOqJRyjiZpmWs6wxMZum+mZkcqf hfI5XDsQTEGj/VbAVcKuYEzlySvmvleby1RzrdTqW3xILk8ggPsMBr6LUadLUgw41U HzX+8t4+zEw7tSNN7zn0ltJOd4waERJ/0Q4W+8D6rECK3ZYH9MpZM5LJ9EOMiwhZbu LOpqYHbcKm7HJn/mRT55r6ecA4APIzwbFmRCBW1QHdH46OHjUvhIBY+rv1V31iK6cK ESU4xJa8kYI5WedhKI5ZHUSfXHGfJXpO1Bltqf/9FJcuM9HOrYQ5Z5eT6zCXmdWloI DATLTp0DHpwOA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id C5284C395F4; Wed, 6 Sep 2023 21:09:10 +0000 (UTC) Precedence: bulk X-Mailing-List: tools@linux.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit From: "Kernel.org Bugbot" To: andrew.cooper3@citrix.com, konstantin@linuxfoundation.org, tools@linux.kernel.org Message-ID: <20230906-b217852c3-6ae369988340@bugzilla.kernel.org> In-Reply-To: References: Subject: Re: b4 patch corruption X-Bugzilla-Product: Tools X-Bugzilla-Component: Infra X-Mailer: peebz 0.1 Date: Wed, 6 Sep 2023 21:09:10 +0000 (UTC) Konstantin Ryabitsev writes in commit 0438c6a107d3475895281146e51d68069a41dc3d: am: properly handle non-git diffs We were not properly parsing patches generated by something other than "git diff" or "git format-patch". Notably, these are pretty rare, but we still shouldn't fail when doing that. This additionally adds a few tests and fixes a silly mistake that I had all along in the sample data. Reported-by: Andrew Cooper Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217852 Signed-off-by: Konstantin Ryabitsev (via https://git.kernel.org/pub/scm/utils/b4/b4.git/commit/?id=0438c6a107d3) -- Deet-doot-dot, I am a bot. Kernel.org Bugzilla (peebz 0.1)