git log不能同时使用--graph选项和--since / - until选项

时间:2014-08-29 18:01:06

标签: git git-log

我正在探索一个git存储库(具体来说,Voldemort)。

当我使用git log运行--graph option时,我会收到一些有用的信息:

computer:voldemort kevin$ git log --graph
* commit 3e16d366e6ae473153e7a1d99e62db96dc7b6c1b
| Author: Arunachalam Thirupathi <arunachalam.t@gmail.com>
| Date:   Thu Aug 28 15:48:01 2014 -0700
| 
|     Merge Read and Write Quota
|     
|     Combined GET and GETALL to GET
|     Combined PUT and DELETE to PUT
|     It would be cleaner if we rename the new GET to READ and PUT to WRITE
|     But it might break the backward compatibility so leaving it like this
|     for now.
|    
*   commit d5c048b3611ccac863b09f1c1433d0026748e77a
|\  Merge: c080cfc d7d7349
<!-- etc -->

当我使用git log--since选项运行--until时,它也有效:

computer:voldemort kevin$ git log --since=2009-12-16 --until=2009-12-17
commit ae6983f377733153bd9c720019a4c72bafa7318a
Author: Alex Feinberg <alex@strlen.net>
Date:   Wed Dec 16 20:16:22 2009 -0800

    Rewriting the ec2 gossip test.

commit 6af8f35157f535a7cc27633599c635b96fe594e3
Merge: d4fdede 72ef048
Author: Alex Feinberg <alex@strlen.net>
Date:   Wed Dec 16 18:24:06 2009 -0800

    Merge branch 'rebalancing' of git://github.com/bbansal/voldemort into rebalancing
<!-- etc -->

但是,当我一次运行git log所有三个选项时,我没有输出:

computer:voldemort kevin$ git log --graph --since=2009-12-16 --until=2009-12-17
computer:voldemort kevin$ 

切换选项显示的顺序没有帮助:

computer:voldemort kevin$ git log --since=2009-12-16 --until=2009-12-17 --graph
computer:voldemort kevin$ 

我怎样才能让它发挥作用? --graph选项描述的信息是我真正想要看到的 - 我希望能够清楚地分辨出分支何时发散和合并,所以只查看没有--graph选项的数据不是适合我,没有一个好的替代品。

0 个答案:

没有答案