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

[PATCH 0/2] a few commit-graph improvements

From
Jeff King <peff@peff.net>
Date
Sep 7, 2019, 04:58 UTC
Message-ID
<20190907045848.GA24515@sigill.intra.peff.net>

We've been playing with commit graphs at GitHub and found a few bits of low-hanging fruit (one liners -- it doesn't get any lower than that).

The first one is actually a resurrection of a patch from March:
  https://public-inbox.org/git/20190322102817.19708-1-szeder.dev@gmail.com/

where the progress bar sometimes prints nonsense. There's some discussion in that thread about how we could sometimes show a real percentage instead of a counting-up progress meter. But given the number of corner cases discussed, and the fact that nothing has happened for 6 months, I think we should first make sure we're always doing the _correct_ thing, and then people can build a nicer meter on top if they want to.

The second is a fix for a small memory "leak", but it makes a big difference.

  [1/2]: commit-graph: don't show progress percentages while expanding reachable commits
  [2/2]: commit-graph: turn off save_commit_buffer
 builtin/commit-graph.c | 2 ++
 commit-graph.c         | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
-Peff
Next: Jeff King
Message 1 of 8 in “a few commit-graph improvements”
  1. 0/2 a few commit-graph improvementsJeff King, Sep 7, 2019
  2. 1/2 commit-graph: don't show progress percentages while expanding reachable commitsJeff King, Sep 7, 2019
  3. SZEDER GáborSep 7, 2019
  4. Taylor BlauSep 7, 2019
  5. Linus TorvaldsSep 27, 2019
  6. 2/2 commit-graph: turn off save_commit_bufferJeff King, Sep 7, 2019
  7. Taylor BlauSep 7, 2019
  8. Jeff KingSep 8, 2019

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.