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

[PATCH 0/2] Lib-ify functions in builtin.h

From
Denton Liu <liu.denton@gmail.com>
Date
Mar 21, 2020, 10:29 UTC
Message-ID
<cover.1584786523.git.liu.denton@gmail.com>

In builtin.h, there exist a couple of functions that are very lib-ish. Extract these functions into their own files which should make more organizational sense.

Denton Liu (2):
  Lib-ify fmt-merge-msg
  Lib-ify prune-packed
 Makefile                |   2 +
 builtin.h               |  16 -
 builtin/fmt-merge-msg.c | 655 +---------------------------------------
 builtin/prune-packed.c  |  44 +--
 builtin/prune.c         |   1 +
 builtin/repack.c        |   1 +
 fmt-merge-msg.c         | 653 +++++++++++++++++++++++++++++++++++++++
 fmt-merge-msg.h         |  13 +
 prune-packed.c          |  43 +++
 prune-packed.h          |   9 +
 10 files changed, 724 insertions(+), 713 deletions(-)
 create mode 100644 fmt-merge-msg.c
 create mode 100644 prune-packed.c
 create mode 100644 prune-packed.h
-- 
2.25.0.114.g5b0ca878e0
Next: Denton Liu
Message 1 of 7 in “Lib-ify functions in builtin.h”
  1. 0/2 Lib-ify functions in builtin.hDenton Liu, Mar 21, 2020
  2. 2/2 Lib-ify prune-packedDenton Liu, Mar 21, 2020
  3. 1/2 Lib-ify fmt-merge-msgDenton Liu, Mar 21, 2020
  4. Junio C HamanoMar 21, 2020
  5. 0/2 Lib-ify functions in builtin.hDenton Liu, Mar 24, 2020
  6. 2/2 Lib-ify prune-packedDenton Liu, Mar 24, 2020
  7. 1/2 Lib-ify fmt-merge-msgDenton Liu, Mar 24, 2020

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.