Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/16984/?format=api
https://patches.dpdk.org/api/patches/16984/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1478706261-31261-1-git-send-email-thomas.monjalon@6wind.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1478706261-31261-1-git-send-email-thomas.monjalon@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1478706261-31261-1-git-send-email-thomas.monjalon@6wind.com", "date": "2016-11-09T15:44:21", "name": "[dpdk-dev] improve git diff", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "422b7beb83e71cc5ebc9a469b78b9b6e9984e233", "submitter": { "id": 1, "url": "https://patches.dpdk.org/api/people/1/?format=api", "name": "Thomas Monjalon", "email": "thomas.monjalon@6wind.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1478706261-31261-1-git-send-email-thomas.monjalon@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/16984/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/16984/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id B27363238;\n\tWed, 9 Nov 2016 16:44:29 +0100 (CET)", "from mail-wm0-f48.google.com (mail-wm0-f48.google.com\n\t[74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 3F1C73B5\n\tfor <dev@dpdk.org>; Wed, 9 Nov 2016 16:44:27 +0100 (CET)", "by mail-wm0-f48.google.com with SMTP id p190so316021610wmp.1\n\tfor <dev@dpdk.org>; Wed, 09 Nov 2016 07:44:27 -0800 (PST)", "from XPS13.localdomain (184.203.134.77.rev.sfr.net.\n\t[77.134.203.184]) by smtp.gmail.com with ESMTPSA id\n\t129sm7663332wmq.9.2016.11.09.07.44.25 for <dev@dpdk.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 09 Nov 2016 07:44:25 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:subject:date:message-id;\n\tbh=eQc8eK3suiN8STwH+QCJDAb/QVpaYvyfDD7SEKo0aoc=;\n\tb=MdXQFcwpzIKkSVH1pVB/nhHapYxE5r7ew2J+Fut0sd4LU4E83/5jZqzIb033RsQZFJ\n\tZTcRriISyuMbJeEerIbYAWg5SFvtcyAIjOewfyKE0Cdnh7DWfWjWPZTSCNeuGUV9EW0x\n\tiD1DcCBWBjPkD7PP+9MjBtM0tHER5+MypsgyY92hS+O7jMdph2Eejm+MhFZ9X4V/v2FH\n\t9ekLBFL2F3UlWnmGwH6YKfBMjxfS9aG7cAIQQyHfNz7KRFKc4XDwASMQ492Zi2xWUC4J\n\tSbvkjefZ10dlZ3yqTrucxwe43/D+sr5Kqkh3lIJ7hOZ5KF1m9dRkxkQGXmxN+RaPsyoO\n\tm76w==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id;\n\tbh=eQc8eK3suiN8STwH+QCJDAb/QVpaYvyfDD7SEKo0aoc=;\n\tb=MFEeENMHunFsvp/3nkkTU3EuzVJdCAzPZM6wz6GiKjYWMkRpqLoMikyRuEDg5eOJ6I\n\tVyHNqSkegJY84yFF/FajCD770eRhfRVVTig3yZT9OvxmlnJC6O9kbACa8y55IxG/z4aw\n\ttGN+f/jEDDAAUPk9HYxALEh/p/EdPU7nsX3MWDGyPDogGLKkz0cS6wKLlRquSWQIwlSo\n\td8MLuxOJLGDYeehuJJeDD469kj1Q6/KDDEf8mMJEEg8AmZ/rCex60AayKk/dX7SsGzj6\n\tiN3l+qVlw0Xq1oF9d/etAMT2mMT1tIoK7E3qgv3YHJt2QiLA2zeUNBdJxdt+pOxTXNI6\n\t+bsg==", "X-Gm-Message-State": "ABUngvcSeaprKybmUQdXq04VI16N7I+xIM2Hy4vprLf8HuBdbJtRD7qlAlPjYaa8/L8BdHBp", "X-Received": "by 10.194.104.65 with SMTP id gc1mr203062wjb.164.1478706266567; \n\tWed, 09 Nov 2016 07:44:26 -0800 (PST)", "From": "Thomas Monjalon <thomas.monjalon@6wind.com>", "To": "dev@dpdk.org", "Date": "Wed, 9 Nov 2016 16:44:21 +0100", "Message-Id": "<1478706261-31261-1-git-send-email-thomas.monjalon@6wind.com>", "X-Mailer": "git-send-email 2.7.0", "Subject": "[dpdk-dev] [PATCH] improve git diff", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Sometimes git does not print the name of the function being changed\nafter @@. It happens especially after a goto label which is not indented.\nGiving a hint about the languages of files .c, .h and .py\nwill improve hunk headers of \"git diff\" rendering.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n .gitattributes | 3 +++\n 1 file changed, 3 insertions(+)\n create mode 100644 .gitattributes", "diff": "diff --git a/.gitattributes b/.gitattributes\nnew file mode 100644\nindex 0000000..fe555f8\n--- /dev/null\n+++ b/.gitattributes\n@@ -0,0 +1,3 @@\n+*.c diff=cpp\n+*.h diff=cpp\n+*.py diff=python\n", "prefixes": [ "dpdk-dev" ] }{ "id": 16984, "url": "