get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2224780,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2224780/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260418152603.3084-1-gerris.rs@gmail.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/1.1/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
    },
    "msgid": "<20260418152603.3084-1-gerris.rs@gmail.com>",
    "date": "2026-04-18T15:26:03",
    "name": "[gccrs,COMMIT] Clean up of obsolete nr2 command line option",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "d7c35ce59e1f9939113bd125fab449f18531cb6f",
    "submitter": {
        "id": 92092,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/92092/?format=api",
        "name": null,
        "email": "gerris.rs@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260418152603.3084-1-gerris.rs@gmail.com/mbox/",
    "series": [
        {
            "id": 500447,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/500447/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=500447",
            "date": "2026-04-18T15:26:03",
            "name": "[gccrs,COMMIT] Clean up of obsolete nr2 command line option",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/500447/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2224780/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2224780/checks/",
    "tags": {},
    "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\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=WijiCyos;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=38.145.34.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\tdkim=pass (2048-bit key,\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=WijiCyos",
            "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "sourceware.org; spf=pass smtp.mailfrom=gmail.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=209.85.160.173"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org [38.145.34.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 4fybFS37B0z1yGt\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 19 Apr 2026 01:26:35 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id F10484CCCA07\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 18 Apr 2026 15:26:32 +0000 (GMT)",
            "from mail-qt1-f173.google.com (mail-qt1-f173.google.com\n [209.85.160.173])\n by sourceware.org (Postfix) with ESMTPS id BE76D4AA54C3\n for <gcc-patches@gcc.gnu.org>; Sat, 18 Apr 2026 15:26:05 +0000 (GMT)",
            "by mail-qt1-f173.google.com with SMTP id\n d75a77b69052e-50d6249bb99so13826361cf.0\n for <gcc-patches@gcc.gnu.org>; Sat, 18 Apr 2026 08:26:05 -0700 (PDT)",
            "from\n runnervmeorf1.t0wjbh1ntu3exmtqficsg1sdwa.cx.internal.cloudapp.net\n ([20.49.61.51]) by smtp.gmail.com with ESMTPSA id\n d75a77b69052e-50e392c8575sm36987151cf.3.2026.04.18.08.26.04\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 18 Apr 2026 08:26:04 -0700 (PDT)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org F10484CCCA07",
            "OpenDKIM Filter v2.11.0 sourceware.org BE76D4AA54C3"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org BE76D4AA54C3",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org BE76D4AA54C3",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776525965; cv=none;\n b=Y2gPBdeG9Dq7HUUm2twlWZuVszQyUhM2dkju2W21R62X0LEep5TD/l9xhcdMi5UkPc8ZzJhcfLTFFQWDW4a4OR72EItgTFAZKwiY/VIdy9XLkgl3XxqR+kWbPrgpYP6uKtTObCGM5mRToJotirhzjKUlP7HKlVO/IVmI4A1Z2OA=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776525965; c=relaxed/simple;\n bh=6VGeAgTnzTQPlH+I6iRAIMr40H4uSJ8fRauYhl779rc=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=jW6CKhX6qrwtJ3m4BZbx3bA0/unoqF0GknarhjSz6PAkBttDq4fyj+hor7l2/cZfRd5wvwA9Dw/hT3CnAadGfMk/BgWOiEy6F/ym/CpS5LSF7WrjBkFKXCGqAU89cPSH+Albcl72/DnDzdPvoYTtfryPksFhK9PrsuWLN+/8GB4=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776525965; x=1777130765; darn=gcc.gnu.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=9QTvFfQFUSuvvHBqUs6OXhHpvozv1fjkHzvjfOwwKUg=;\n b=WijiCyos8HG7w9E5ob3W1a1DxYGPMnzaYPPK0tnBG4AFLhC2jsTO5E0sVqf22/50db\n eSXRV+pFvl+5PPg2keHCA00115IykGrLbDOeB3mTXiDZpYdNNoRkamTlL4LdGby81vTd\n Aj7VkNmWiizRf4NFaEDHh2Mjns+UUHN9FQGrb7AfhRvFw5sMbgz92d/h1z1U+gSkr+33\n JZtMTouWj4/dc3NLawR7nIS5o8HA0Ff7jDp/zR6vd7VHJzgMj3QWgrJGdgwxADcOqkGq\n 9WG/S0vPUlpvh3uFoI5uoxhEsQL38Nrub3/9PsgvqMCUzonPgARwdbVtuJlnH0g/nAw5\n HXOw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776525965; x=1777130765;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=9QTvFfQFUSuvvHBqUs6OXhHpvozv1fjkHzvjfOwwKUg=;\n b=Qv8iyoyM0GdFE0rCmhPBQVJYTnfL4T7I5z87VK7TfDa2I4NQs0NJ2gNQhpyP4Ya0zE\n Rd+NQ7dx+JCKkguM82PlYQNZfm34DeAf6BckhZ48eO1q4fAUAVcxaSaj2A2ACVCLJdh2\n KM3LhZxhH3GHohKxnEBwjlVf7a91feZC3G/jsG6Y/o4646fU+GggidyAo8rKlFeJ269u\n aMyuXFm+on+Naon9NXiXphLiNgtr6uDjhaurYtFJZX9KG/pQ1hVSngNkk57oilQzNn9S\n T2rkxcHFnGBVcMz9X2jrR+yRGQo6ddBq2GWC5kBcF1Mum4djYq6tEr3rRMfrj9XZ+oHZ\n Y5ow==",
        "X-Gm-Message-State": "AOJu0YxXTCBXJQzIk6Awpxpl6XIWEf/SqJSFyo5SK1foSmfYldPxJQYi\n SYfreeBXUDxRPsL/eT1xX7dF+GfHyaqFiFXx3FmUuxCBD1WUk4MIHvSCGhDahw==",
        "X-Gm-Gg": "AeBDiev+Q8AxjMq28nX1W3uRSfIRJvvJFXPZ10ln3ykugG9ftpUUF8LBzk6MSIutlwL\n VNfwcDD0xLMexgtKRZKTviNFIWQNdID9XuY/PdoU+Qo2tb0dPJJFha2pulu5gQEqcumM8bYuIiv\n NGt3FrgjBcKAfVsFZUihYKY58vSMqiWbzmgFeLQXRAC6c/vktUFzHa+Kyqa9KtROujNbLOCM0yz\n QTPY3AjdsEy8Wcsn4gZ/fwe2dLGGdLaxuOwTFL5lyhIrk6UeRNgyZjz7/C2pnsClI+oWntZKdA3\n UA6h2uCDBbFhmthTNKeefe3JY2pjJE1koDATwjD5tGkTGKQdo0vUxsQJLIwnd4ApcPXwXq2lfIX\n xHEKUxqlK5QZaHMdN4m2iyURTLOtZYNOO13qV7HPJTHLsgY0am0/1doONLXjrz1fRBU4fKwlzmq\n G6BcBDg2wIQ8lpWciCYCdDzETwYC3rUufhQv7K/H64jHwDBfpwtOBpY2jnQtEIxBBFz4V81cUtg\n 9+8FYDMNOru7+TUxEZ9lJqVtbwx57F316iJqAbI",
        "X-Received": "by 2002:a05:622a:94:b0:50d:8bd1:ad5b with SMTP id\n d75a77b69052e-50e36b3ce21mr110715091cf.16.1776525965001;\n Sat, 18 Apr 2026 08:26:05 -0700 (PDT)",
        "From": "gerris.rs@gmail.com",
        "To": "gcc-patches@gcc.gnu.org,\n\tgcc-rust@gcc.gnu.org",
        "Cc": "pierre-emmanuel.patry@embecosm.com, arthur.cohen@embecosm.com,\n dkm+gccrs@kataplop.net,\n fisnikhasani <242628373+fisnikhasani@users.noreply.github.com>,\n Fisnik Hasani <opensource@fisnikhasani.com>",
        "Subject": "[gccrs COMMIT] Clean up of obsolete nr2 command line option",
        "Date": "Sat, 18 Apr 2026 15:26:03 +0000",
        "Message-ID": "<20260418152603.3084-1-gerris.rs@gmail.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "MIME-Version": "1.0",
        "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": "From: fisnikhasani <242628373+fisnikhasani@users.noreply.github.com>\n\nFixes: Rust-GCC/gccrs#4503\n\ngcc/rust/ChangeLog:\n\n\t* lang.opt (flag_name_resolution_2_0): Remove.\n\t* resolve/rust-name-resolver.cc: Remove include.\n\nSigned-off-by: Fisnik Hasani <opensource@fisnikhasani.com>\n---\nThis change was merged into the gccrs repository and is posted here for\nupstream visibility and potential drive-by review, as requested by GCC\nrelease managers.\nEach commit email contains a link to its details on github from where you can\nfind the Pull-Request and associated discussions.\n\n\nCommit on github: https://github.com/Rust-GCC/gccrs/commit/3432069729f6868c92de792e09d0c803dcc1618e\nThe commit is not linked to any pull-request\n\n gcc/rust/lang.opt                      | 4 ----\n gcc/rust/resolve/rust-name-resolver.cc | 3 ---\n 2 files changed, 7 deletions(-)\n\n\nbase-commit: 2f8b36214b8920dc2f9a6be6fdad951a39ef1e32",
    "diff": "diff --git a/gcc/rust/lang.opt b/gcc/rust/lang.opt\nindex aa8e9b1b4..2fe63fa70 100644\n--- a/gcc/rust/lang.opt\n+++ b/gcc/rust/lang.opt\n@@ -208,10 +208,6 @@ Enum(frust_compile_until) String(compilation) Value(12)\n EnumValue\n Enum(frust_compile_until) String(end) Value(13)\n \n-frust-name-resolution-2.0\n-Rust Var(flag_name_resolution_2_0) Init(1)\n-Use the temporary and experimental name resolution pipeline instead of the stable one.\n-\n frust-borrowcheck\n Rust Var(flag_borrowcheck)\n Use the WIP borrow checker.\ndiff --git a/gcc/rust/resolve/rust-name-resolver.cc b/gcc/rust/resolve/rust-name-resolver.cc\nindex be134681e..ab6fcb839 100644\n--- a/gcc/rust/resolve/rust-name-resolver.cc\n+++ b/gcc/rust/resolve/rust-name-resolver.cc\n@@ -19,9 +19,6 @@\n #include \"rust-name-resolver.h\"\n #include \"rust-ast-full.h\"\n \n-// for flag_name_resolution_2_0\n-#include \"options.h\"\n-\n namespace Rust {\n namespace Resolver {\n \n",
    "prefixes": [
        "gccrs",
        "COMMIT"
    ]
}