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

Re: [PATCH] Make "git reset" a builtin. (incomplete)

From
Jon Smirl <jonsmirl@gmail.com>
Date
Aug 23, 2007, 16:30 UTC
Message-ID
<9e4733910708230930k3f6d1b4i47d03753bc0d3c1@mail.gmail.com>
In-Reply-To
<20070823112413.GJ7267@thunk.org>
On 8/23/07, Theodore Tso <tytso@mit.edu> wrote:
Show 10 quoted lines
> I don't know enough about LUA to say for sure.  Having taken a quick
> look at lua.org, the implementation looks pleasantly small, and LUA
> scripts look more comprehensible than say Tcl (which is not saying
> much, I know).  But part of "show me the code" is people demonstrating
> that no really, LUA is an appropriate tool for simple scripts that is
> portable enough that we don't need to have external dependencies on
> bash and perl, and that it is easier than rewriting all of our shell
> scripts in C.  Maybe that is a true statement.  I don't know.  My
> suggestion to "Show us the code" was a way of hoping someone who cared
> enough about this issue could show us.

I just threw LUA out as an example of a tiny language in the hope of avoiding something giant like mono. LUA is already installed on most Linux distributions, liblua50.so on mine. It is 100KB.

LUA is used as a scripting language in some popular games. Because of that it has good ports to Mac/Windows. There are over a dozen books on Amazon about using LUA.

I only care about the scripting issue in that I don't want git to get tied to a giant scripting system. LUA is small enough to package with git.

-- 
Jon Smirl
jonsmirl@gmail.com
Previous: Johannes SchindelinNext: Reece Dunn
Message 31 of 49 in “Make "git reset" a builtin. (incomplete)”
  1. Make "git reset" a builtin. (incomplete)Carlos Rica, Aug 22, 2007
  2. David KastrupAug 22, 2007
  3. Andreas EricssonAug 22, 2007
  4. David KastrupAug 22, 2007
  5. Mike HommeyAug 22, 2007
  6. Chris ShoemakerAug 22, 2007
  7. David KastrupAug 22, 2007
  8. Nicolas PitreAug 22, 2007
  9. Johannes SchindelinAug 22, 2007
  10. David KastrupAug 22, 2007
  11. Linus TorvaldsAug 22, 2007
  12. David KastrupAug 22, 2007
  13. Linus TorvaldsAug 22, 2007
  14. David KastrupAug 22, 2007
  15. Linus TorvaldsAug 22, 2007
  16. David KastrupAug 22, 2007
  17. Linus TorvaldsAug 23, 2007
  18. Wincent ColaiutaAug 23, 2007
  19. Nicolas PitreAug 23, 2007
  20. Jon SmirlAug 23, 2007
  21. Linus TorvaldsAug 23, 2007
  22. Junio C HamanoAug 23, 2007
  23. Johannes SchindelinAug 23, 2007
  24. Reece DunnAug 22, 2007
  25. Johannes SchindelinAug 23, 2007
  26. Theodore TsoAug 23, 2007
  27. Johannes SchindelinAug 23, 2007
  28. David TweedAug 23, 2007
  29. Theodore TsoAug 23, 2007
  30. Johannes SchindelinAug 23, 2007
  31. Jon SmirlAug 23, 2007
  32. Reece DunnAug 23, 2007
  33. Alex RiesenAug 23, 2007
  34. David KastrupAug 23, 2007
  35. Alex RiesenAug 23, 2007
  36. David KastrupAug 23, 2007
  37. Nicolas PitreAug 22, 2007
  38. Johannes SchindelinAug 23, 2007
  39. Nicolas PitreAug 23, 2007
  40. Reece DunnAug 22, 2007
  41. Johannes SchindelinAug 23, 2007
  42. Robin RosenbergAug 23, 2007
  43. Nguyen Thai Ngoc DuyAug 23, 2007
  44. Matthieu MoyAug 22, 2007
  45. David KastrupAug 22, 2007
  46. Andy ParkinsAug 22, 2007
  47. Johannes SixtAug 22, 2007
  48. Alex RiesenAug 22, 2007
  49. Johannes SchindelinAug 23, 2007

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.