Re: git log causing hang while browsing upstream linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 4, 2023, at 22:13, Rohit Ner wrote:
> Thank you for filling out a Git bug report!
> Please answer the following questions to help us understand your issue.
>
> What did you do before the bug happened? (Steps to reproduce your issue)
> 1. git clone https://github.com/torvalds/linux.git
> 2. git checkout master
> 3. git log --oneline --graph

Seems like `--graph` is expensive.

FWIW: on my machine:

    $ time git log --oneline --graph | head -1 
    *   76f598ba7d8e Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

    real	0m10.616s
    user	0m9.594s
    sys	0m0.654s

Second attempt is only marginally faster.

-- 
Kristoffer Haugsbakk



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux