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

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

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 23, 2007, 11:35 UTC
Message-ID
<Pine.LNX.4.64.0708231226110.20400@racer.site>
In-Reply-To
<20070823112413.GJ7267@thunk.org>
Hi,
On Thu, 23 Aug 2007, Theodore Tso wrote:
Show 10 quoted lines
> On Thu, Aug 23, 2007 at 11:31:56AM +0100, Johannes Schindelin wrote:
>
> > And that is _exactly_ where I fail to see benefits from.  You only get 
> > the full power of C by using C.  You only get the full power of all 
> > open source C programmers by using C.  And you only get the full 
> > flexibility, speed, name-your-own-pet-peeve using C.
> 
> Sure, but not all porcelein commands need the full power of C.  Take 
> "git-gc" for example.  It was a *very* short shell script before it was 
> rewritten to use C.
That is right.  It was short.
Show 9 quoted lines
> > I have seen boxes where the administrators locked down everything.  
> > And Cygwin _does_ need to write the registry, and there is _no_ easy 
> > way to have two independent Cygwin installs on the same machine.  
> > This is where MinGW/MSys really shines.
> 
> So are you claiming that MingGW/MSys is so good that it has a perl/bash 
> that is fully Linux compatible, so that we don't need to convert our 
> various internal commands that are implemented in shell to C?  I didn't 
> think that was a commonly held assessment...
I did not even come close to saying that.

MinGW/MSys has the advantage over Cygwin that you can have multiple installations. With different settings, in different places.

However, since we are on Windows we have plenty of problems. Think fork(). Think "C:/srv" _not_ meaning a protocol. Think non-Git programs that have a non-POSIX idea of path names, or of passing a command line (including quoting).

One problem we face ATM is that MSys apparently cannot be taught _not_ to mangle something as "repo.or.cz:/srv/git/something.git" into "repo.or.cz;C:\msysGit\srv/git/something.git". If we had no scripts, this would be a non-issue. Since no MSys would be involved.

Anyway, I'd much rather use my time hacking than reading monster threads with more LOC than I will ever write in my life. And no, that "C" does not mean "code".

Ciao, Dscho

Previous: Theodore TsoNext: Jon Smirl
Message 30 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.