git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git log causing hang while browsing upstream linux

From
Kristoffer Haugsbakk <code@khaugsbakk.name>
Date
Apr 4, 2023, 20:27 UTC
Message-ID
<5b99135f-c1d4-434b-b508-35f5d66dd2bb@app.fastmail.com>
In-Reply-To
<CAKazavxTXwcZFtL2XyU3MpaUR=snWY8w8Lwpco+mkbqm2nWE=w@mail.gmail.com>
On Tue, Apr 4, 2023, at 22:13, Rohit Ner wrote:
Show 7 quoted lines
> 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
Previous: Rohit NerNext: Kristoffer Haugsbakk
Message 2 of 9 in “git log causing hang while browsing upstream linux”
  1. Rohit NerApr 4, 2023
  2. Kristoffer HaugsbakkApr 4, 2023
  3. Kristoffer HaugsbakkApr 4, 2023
  4. Rohit NerApr 10, 2023
  5. Taylor BlauApr 11, 2023
  6. Kristoffer HaugsbakkApr 11, 2023
  7. SZEDER GáborApr 16, 2023
  8. How to write to the commit graph on clone?Kristoffer Haugsbakk, Apr 16, 2023
  9. Ævar Arnfjörð BjarmasonApr 16, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.