Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
获取Linux稳定分支的第一个提交日期_Linux_Git_Merge - Fatal编程技术网

获取Linux稳定分支的第一个提交日期

获取Linux稳定分支的第一个提交日期,linux,git,merge,Linux,Git,Merge,我想获得Linux稳定分支中第一个补丁的提交日期。据维基百科称,Linux 3.2已于2012年1月5日创建 我选择git rev list命令: git rev-list --merges --boundary --format="%cd" |tail -1 (Wed **Jan 4** 15:03:06 2012 -0800) git rev-list --merges --format="%cd" | tail -1 (Sun Apr 17 14:47:24 2005 -0700) g

我想获得Linux稳定分支中第一个补丁的提交日期。据维基百科称,Linux 3.2已于2012年1月5日创建

我选择git rev list命令:

git rev-list --merges --boundary --format="%cd" |tail -1  (Wed **Jan 4** 15:03:06 2012 -0800)
git rev-list --merges --format="%cd" | tail -1 (Sun Apr 17 14:47:24 2005 -0700) 
git rev-list --no-merges --boundary --format="%cd" (Wed **Jan 4** 15:03:49 2012 -0800)
git rev-list --no-merges --format="%cd" (Sat Apr 16 15:20:36 2005 -0700) 
有趣的是,对于我使用命令git rev list-merges-boundary-format=%cd | tail-1获得的补丁,如下所示:

The date is (Wed Jan 4 15:03:06 2012 -0800)
总结是:minixfs:错误放置的检查导致齿槽泄漏

但是命令:git rev list-no merges-boundary-format=%cd | tail-1中的补丁如下:

总结:合并git://git.kernel.org/pub/scm/linux/kernel/git/davem/net

版本列表的定义和定义:

--boundary
Output uninteresting commits at the boundary, which are usually not shown.

--merges
Print only merge commits. This is exactly the same as --min-parents=2.

--no-merges
Do not print commits with more than one parent. This is exactly the same as --max-parents=1.
我的问题是:

为什么我们必须添加-边界才能获得第一次提交

为什么非合并修补程序有两个父项,而合并修补程序只有一个父项?是因为版本列表吗