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

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

From
RDReece Dunn <msclrhd@googlemail.com>
Date
Aug 23, 2007, 11:25 UTC
Message-ID
<3f4fd2640708230425h3cb793fbg17b09f561ede07ae@mail.gmail.com>
In-Reply-To
<e1dab3980708230355x1d5d2febw6814e8f24d745ddd@mail.gmail.com>
On 23/08/07, David Tweed <david.tweed@gmail.com> wrote:
Show 9 quoted lines
> On 8/23/07, Theodore Tso <tytso@mit.edu> wrote:
> > (To accomodate those Windows users who for some silly reason refuse to
> > install Cygwin, bash, and perl on their Windows development box.  :-)
>
> I personally don't care exactly what's used implementing git on non-unix
> platforms, but I get nervous as more and more "layers" are added so
> it becomes more and more difficult to figure which layer a user problem
> is occurring at. If it looks to difficult to "help out with" issues on Windows,
> that would be a big enough reason for me not to use git on such projects.

This is one of the reasons I _suggested_ C# for the _Windows_ porcelian. That way, you have the git plumbing written in C, and the porcelain is implemented in supported tools for the target platform.

I don't mind what the porcelain is written in. However, standardizing on a single language improves the ability to target more people, especially as a shell, perl and python are not supported out of the box on Windows like they are on posix systems. This is important for some Windows developers and setting up build machines and the like (most, if not all, Windows users expect each application to be independant of anything else). It also reduces the surface area in which problems can occur.

Therefore, we come back to porting the stable scripts to "pure" C. Doing this for git-rebase _helped_ the Windows port. With a purely C implementation you have fewer places where problems can arise and platform issues can be dealt with in a unified way, instead of duplicating them in each script.

This does not prevent new commands from being prototyped in a scripting language. Nor does it prevent the user from running the commands in their own shell/perl/python scripts. It would limit the "bleeding edge" commands to posix platforms (including cygwin), until they are supported natively, but that would not hinder adoption of git on Windows platforms.

- Reece
Previous: Jon SmirlNext: Alex Riesen
Message 32 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.