当我在Linux内核子系统中提交patch
时,例如netdev,其中存在两个树,net.git
和net-next.git
,net.git
通常用于bug修复,错误地在net-next.git
中提交了错误修复,我是否应该像[RESEND PATCH net.git ... ]
一样重新发送主题?
答案 0 :(得分:2)
重新发送补丁程序时,第一次发送使用v1,其他重新发送使用v1,数字将增加1。
指南:
[PATCH v1] folder-name: subject-name
我重复发送两次的补丁示例:
From 57162b5cf23aa94f9902317f84c473a523f1bdf8 Mon Sep 17 00:00:00 2001
From: Kitone Elvis Peter <elviskitone@gmail.com>
Date: Fri, 22 Jun 2018 13:09:07 +0300
Subject: [PATCH v2] block: Use SPDX License Identifier
There is need to identify a license in source code files
for open source software.
Signed-off-by: Kitone Elvis Peter <elviskitone@gmail.com>
---
drivers/block/brd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/block/brd.c b/drivers/block/brd.c
index 66cb0f8..4f998ed 100644
--- a/drivers/block/brd.c
+++ b/drivers/block/brd.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* Ram backed block device driver.
*
--
2.7.4