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

Re: Can't build first git commit

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Mar 4, 2019, 22:25 UTC
Message-ID
<20190304222559.GA112305@google.com>
In-Reply-To
<1551730792.4573.1.camel@libero.it>
Hi,
Fabio Aiuto wrote:
> What a pity, It would have been very useful for me, to debug around
> that simple version, to understand how everithing works.

Jeff King suggested how you can update the build command to get it working. In general, I think people sometimes overthink what is involved in a build: something like

	cc *.c

plus appropriate warning, optimization, debug, -D, and library flags should work just fine.

If you haven't already read it, I also recommend reading https://www.kernel.org/pub/software/scm/git/docs/user-manual.html#hacking-git. If you have ideas for improving the text there (perhaps with suggested build instructions?), patches to Documentation/user-manual.txt are very welcome.

Thanks and happy hacking, Jonathan

Previous: asymptosisNext: Jeff King
Message 6 of 18 in “Can't build first git commit”
  1. Fabio AiutoMar 4, 2019
  2. Santiago TorresMar 4, 2019
  3. Fabio AiutoMar 4, 2019
  4. Santiago TorresMar 4, 2019
  5. asymptosisMar 4, 2019
  6. Jonathan NiederMar 4, 2019
  7. Jeff KingMar 4, 2019
  8. Fabio AiutoMar 5, 2019
  9. Jeff KingMar 5, 2019
  10. Fabio AiutoMar 6, 2019
  11. Jeff KingMar 6, 2019
  12. Fabio AiutoMar 6, 2019
  13. Santiago TorresMar 6, 2019
  14. Jeff KingMar 6, 2019
  15. Fabio AiutoMar 6, 2019
  16. Jeff KingMar 6, 2019
  17. Jeff KingMar 7, 2019
  18. Fabio AiutoMar 7, 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.