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

Re: make gitfakemmap standalone to fix linking error in git.c

From
Junio C Hamano <junkio@cox.net>
Date
Dec 5, 2005, 17:40 UTC
Message-ID
<7vfyp7cuii.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<81b0412b0512050524w7b632651n93c836fda41a39d@mail.gmail.com>
Alex Riesen <raa.lkml@gmail.com> writes:
> Why does it always happen...
Because you touched you did not absolutely have to ;-).

When I took setenv patch for git.c, I was thinking about something similar. It may be cleaner to split out the pieces so that the functions like usage(), die(), xmalloc() and friends could be linkable in git.c and others that want to link in only the minimum set without including "cache.h" which has more intimate knowledge of other git internals.

Previous: Alex RiesenNext: Junio C Hamano
Message 5 of 23 in “make gitfakemmap standalone to fix linking error in git.c”
  1. Alex RiesenDec 5, 2005
  2. Alex RiesenDec 5, 2005
  3. Petr BaudisDec 5, 2005
  4. Alex RiesenDec 5, 2005
  5. Junio C HamanoDec 5, 2005
  6. Clean up compatibility definitions.Junio C Hamano, Dec 5, 2005
  7. Johannes SchindelinDec 5, 2005
  8. Junio C HamanoDec 5, 2005
  9. Alex RiesenDec 5, 2005
  10. Alex RiesenDec 6, 2005
  11. Junio C HamanoDec 6, 2005
  12. Alex RiesenDec 5, 2005
  13. Junio C HamanoDec 5, 2005
  14. Alex RiesenDec 6, 2005
  15. Junio C HamanoDec 6, 2005
  16. Alex RiesenDec 6, 2005
  17. Junio C HamanoDec 6, 2005
  18. Petr BaudisDec 5, 2005
  19. Junio C HamanoDec 6, 2005
  20. Petr BaudisDec 6, 2005
  21. Alex RiesenDec 5, 2005
  22. Junio C HamanoDec 5, 2005
  23. Alex RiesenDec 6, 2005

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.