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

[PATCH 0/3] Convert run_status to a builtin

From
Jeff King <peff@peff.net>
Date
Sep 7, 2006, 06:29 UTC
Message-ID
<20060907062917.GA16969@coredump.intra.peff.net>

This series of patches converts the run_status function from git-commit.sh to a C builtin. Hopefully we can use this as a starting point for further improvements (the only feature I added was colorization). I haven't had a chance to look closely at the simultaneous traversal code in pu, but that would be the nice next place to take this concept.

Patch 1/3 adds the necessary diff callback infrastructure, which may be of value regardless of whether the final patch is accepted.

Patch 2/3 lib-ifies the diff color support so it can be reused by run-status. Again, I think this is worth doing anyway from a code cleanup standpoint.

Patch 3/3 does the actual conversion.
-Peff
Next: Jeff King
Message 1 of 2 in “Convert run_status to a builtin”
  1. 0/3 Convert run_status to a builtinJeff King, Sep 7, 2006
  2. 1/3 diff: support custom callbacks for outputJeff King, Sep 7, 2006

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.