get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2226622/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2226622,
    "url": "http://patchwork.ozlabs.org/api/patches/2226622/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/297d9a0befac6378bc9331d26c84d79258e0b3ec.1776876927.git.sam@gentoo.org/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<297d9a0befac6378bc9331d26c84d79258e0b3ec.1776876927.git.sam@gentoo.org>",
    "list_archive_url": null,
    "date": "2026-04-22T16:55:30",
    "name": "[2/6] doc: grammar tweak with 'in C(++),'",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "58d6e4fa30bc45123d7730d754c00a53948735ee",
    "submitter": {
        "id": 83216,
        "url": "http://patchwork.ozlabs.org/api/people/83216/?format=api",
        "name": "Sam James",
        "email": "sam@gentoo.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/297d9a0befac6378bc9331d26c84d79258e0b3ec.1776876927.git.sam@gentoo.org/mbox/",
    "series": [
        {
            "id": 501045,
            "url": "http://patchwork.ozlabs.org/api/series/501045/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=501045",
            "date": "2026-04-22T16:55:28",
            "name": "Tiny doc fixes",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501045/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2226622/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2226622/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=gentoo.org",
            "sourceware.org; spf=pass smtp.mailfrom=gentoo.org",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=140.211.166.183"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g154P2zJXz1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 02:57:25 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 96C4B4BB3BD8\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 16:57:23 +0000 (GMT)",
            "from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])\n by sourceware.org (Postfix) with ESMTP id DEAB54BB3BA5\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 16:56:56 +0000 (GMT)",
            "from localhost\n (2.8.3.0.0.0.0.0.0.0.0.0.0.0.0.0.a.5.c.d.c.d.9.1.0.b.8.0.1.0.0.2.ip6.arpa\n [IPv6:2001:8b0:19dc:dc5a::382])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n (Authenticated sender: sam@gentoo.org)\n by smtp.gentoo.org (Postfix) with ESMTPSA id 9CFF034213E;\n Wed, 22 Apr 2026 16:56:55 +0000 (UTC)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 96C4B4BB3BD8",
            "OpenDKIM Filter v2.11.0 sourceware.org DEAB54BB3BA5"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org DEAB54BB3BA5",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org DEAB54BB3BA5",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776877017; cv=none;\n b=xqjs9y9BdLPTBSMKnLXJCmMb2OZBnBa+UVAzFiC4wD9enWAt5I4NKpO6P2L/orqoZ0tht8Sv3MVdpaHYhHnUlA/mPOjCqxff7fg/u9ez1q61wU6wZJHteJA1qcd98mwosv+3OalURgV93kHGyb3YYDzrx0ce/+HypT20BOpsf0Q=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776877017; c=relaxed/simple;\n bh=W9rGbQ/n5mcHFWNv1TQ5CLv8CQ951fIh7UBIvg8d/70=;\n h=From:To:Subject:Date:Message-ID:MIME-Version;\n b=pbrs0GNUnUrg9slJny2MYlKjQYhklk0yD6YURoDJDQDlKiBVlgB8AzM5FQCCRptGSVdwIppCemrxYaX6Pgnj7kiGfg89oUNZNYFuZBzRVPbRhLt3OBE2Qnh/jF3uVIL2eGrHDd5Ci35XwLQPXjXuSORFtA/IjuXIXIrfhXC+ZQ4=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "From": "Sam James <sam@gentoo.org>",
        "To": "gcc-patches@gcc.gnu.org",
        "Cc": "Sandra Loosemore <sloosemore@baylibre.com>,\n\tSam James <sam@gentoo.org>",
        "Subject": "[PATCH 2/6] doc: grammar tweak with 'in C(++),'",
        "Date": "Wed, 22 Apr 2026 17:55:30 +0100",
        "Message-ID": "\n <297d9a0befac6378bc9331d26c84d79258e0b3ec.1776876927.git.sam@gentoo.org>",
        "X-Mailer": "git-send-email 2.54.0",
        "In-Reply-To": "<cover.1776876927.git.sam@gentoo.org>",
        "References": "<cover.1776876927.git.sam@gentoo.org>",
        "MIME-Version": "1.0",
        "X-Developer-Signature": "v=1; a=openpgp-sha256; l=1387; i=sam@gentoo.org;\n h=from:subject:message-id; bh=W9rGbQ/n5mcHFWNv1TQ5CLv8CQ951fIh7UBIvg8d/70=;\n b=owGbwMvMwCVW3ML5VeH+xAmMp9WSGDJf/N2tOpNxmvuEz5seymnfENOOWN6tO7/NRNuk8veZP\n EtLC80lHR9ZGMS4GGaKKbKoLtvdcXd2mU92qOMhmDmsTCBDpEUaGICAhYEvNzGv1EjHSM9U21DP\n EMjQMYqHyOkxaGQWF5emFummFRQ55OWXJJZk5ucV6+UXpOYVpBfopWWmlWRk5BcVpwKN0MtLLTE\n ydTRzcrKwcHGxdDI3M3E2czI1NTF0NjI3tjAxsHQzNTJwcbM0tDRg4OIUgLkm6wkjw61bsxku8G\n 5W3fWhMutydNB5Wa7IP/LtLwImydRWeIlducjIsDTj3NH94fqdCy4w/7r18uLEl3l9+/oUdz68l\n LrvoZr5Mx4A",
        "X-Developer-Key": "i=sam@gentoo.org; a=openpgp;\n fpr=5EF3A41171BB77E6110ED2D01F3D03348DB1A3E2",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "Consistently use a comma after 'In C' or 'In C++'.\n\ngcc/ChangeLog:\n\n\t* doc/invoke.texi: Write 'In C,' and 'In C++,' with a comma\n\tconsistently.\n---\n gcc/doc/invoke.texi | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi\nindex 49b99c890320..9b5c4ee3cae5 100644\n--- a/gcc/doc/invoke.texi\n+++ b/gcc/doc/invoke.texi\n@@ -8397,7 +8397,7 @@ header included.\n \n @option{-Wunused-const-variable=1} is enabled by either\n @option{-Wunused-variable} or @option{-Wunused} for C, but not for\n-C++. In C this declares variable storage, but in C++ this is not an\n+C++. In C, this declares variable storage, but in C++, this is not an\n error since const variables take the place of @code{#define}s.\n \n @item -Wunused-const-variable=2\n@@ -10415,8 +10415,8 @@ Do not warn about stray tokens after @code{#else} and @code{#endif}.\n @opindex Wno-enum-compare\n @item -Wenum-compare\n Warn about a comparison between values of different enumerated types.\n-In C++ enumerated type mismatches in conditional expressions are also\n-diagnosed and the warning is enabled by default.  In C this warning is\n+In C++, enumerated type mismatches in conditional expressions are also\n+diagnosed and the warning is enabled by default.  In C, this warning is\n enabled by @option{-Wall}.\n \n @opindex Wenum-conversion\n",
    "prefixes": [
        "2/6"
    ]
}