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

Re: Switching from CVS to GIT

From
BDBrian Dessent <brian@dessent.net>
Date
Oct 15, 2007, 20:05 UTC
Message-ID
<4713C81F.A75FEFC2@dessent.net>
In-Reply-To
<20071015194214.GC15541@steel.home>
Alex Riesen wrote:
Show 7 quoted lines
> Hmm... Could the allocation of large contiguous blocks also lock the
> system hard? For instance, I avoid starting the test suite on my XP
> workstation at work: it locks up hard every time. W2k works.
> The system has nothing unusual in it. Well, it has an antivirus
> program (which hopefully stopped working after a series of crashes,
> which is just as well), an NVidia card with native driver (which is
> broken in its own usual ways). Maybe that's enough

In terms of the MSYS/Cygwin style of fork emulation, large memory allocations shouldn't pose any real problem, but they will be slow as the fork emulation has to manually replicate the state of the parent in the child and this means copying memory extents. (Yes, horribly ugly, no doubt about it, but it allows for porting.)

This emulation code is sensitive enough that the Cygwin list has begun to maintain a list of software whose hooks/interference can cause Cygwin apps to fail: <http://cygwin.com/ml/cygwin-talk/2007-q3/msg00174.html>. Since MSYS is derived from the same code I see no reason why the list wouldn't also implicate potential problems with binaries linked to the MSYS runtime.

Johannes Schindelin wrote:
Show 12 quoted lines
> We never had the problem in git itself, since we never used fork() on
> Windows.  The problem lies in our usage of bash and perl.
> 
> Bash we can fix in the long run (this goes under the keyword
> "builtinification" on the git list), but I do not see our reliance on Perl
> going away, not for git {send-email,cvsimport,cvsexportcommit,svn}.
> These are not too common operations, so common users will be able to do
> without them.
> 
> However, if you rely on the CVS/SVN connectors, or send-email, and in any
> case in the short run, you better run Git on Windows only when that funny
> Logitech driver is disabled ;-)

Well, instead of using an MSYS build of Perl there's always ActiveState Perl. I think you may be stuck on the shell though -- I don't know of any ports of bash that aren't MSYS or Cygwin based. However I do think there's a native port of zsh out there by the GnuWin32 project, which when renamed as just "/bin/sh" might be suitable, but only if these scripts don't use bash-isms. I have not tried this zsh myself and speed/compatibility wise I'm not sure it's up to snuff.

Brian
Previous: Eli ZaretskiiNext: Johannes Schindelin
Message 39 of 120 in “Re: Switching from CVS to GIT”
  1. Benoit SIGOUREOct 14, 2007
  2. Marco CostalbaOct 14, 2007
  3. Johannes SchindelinOct 14, 2007
  4. Martin LanghoffOct 15, 2007
  5. Andreas EricssonOct 14, 2007
  6. Johannes SchindelinOct 14, 2007
  7. Andreas EricssonOct 14, 2007
  8. Johannes SchindelinOct 14, 2007
  9. Alex RiesenOct 14, 2007
  10. Eli ZaretskiiOct 14, 2007
  11. Johannes SchindelinOct 14, 2007
  12. Brian DessentOct 15, 2007
  13. Johannes SchindelinOct 15, 2007
  14. Johannes SchindelinOct 15, 2007
  15. Eli ZaretskiiOct 15, 2007
  16. Steffen ProhaskaOct 15, 2007
  17. Eli ZaretskiiOct 15, 2007
  18. Johannes SchindelinOct 15, 2007
  19. Eli ZaretskiiOct 15, 2007
  20. Johannes SixtOct 15, 2007
  21. Eli ZaretskiiOct 15, 2007
  22. Paul SmithOct 15, 2007
  23. Steffen ProhaskaOct 15, 2007
  24. Eli ZaretskiiOct 15, 2007
  25. Eli ZaretskiiOct 15, 2007
  26. Johannes SchindelinOct 15, 2007
  27. Benoit SIGOUREOct 15, 2007
  28. Alex RiesenOct 15, 2007
  29. Brian DessentOct 15, 2007
  30. Johannes SchindelinOct 15, 2007
  31. Brian DessentOct 15, 2007
  32. Johannes SchindelinOct 15, 2007
  33. Linus TorvaldsOct 15, 2007
  34. Johannes SchindelinOct 15, 2007
  35. Alex RiesenOct 15, 2007
  36. Eli ZaretskiiOct 15, 2007
  37. Johannes SchindelinOct 15, 2007
  38. Eli ZaretskiiOct 15, 2007
  39. Brian DessentOct 15, 2007
  40. Johannes SchindelinOct 15, 2007
  41. Steffen ProhaskaOct 15, 2007
  42. Johannes SchindelinOct 15, 2007
  43. Nguyen Thai Ngoc DuyOct 16, 2007
  44. Eli ZaretskiiOct 16, 2007
  45. Nguyen Thai Ngoc DuyOct 16, 2007
  46. Eli ZaretskiiOct 16, 2007
  47. Steffen ProhaskaOct 16, 2007
  48. Eli ZaretskiiOct 15, 2007
  49. Mark WattsOct 15, 2007
  50. Eli ZaretskiiOct 15, 2007
  51. Eli ZaretskiiOct 15, 2007
  52. Johannes SchindelinOct 15, 2007
  53. David KastrupOct 15, 2007
  54. David KastrupOct 15, 2007
  55. Alex RiesenOct 15, 2007
  56. Dave KornOct 15, 2007
  57. Johannes SchindelinOct 15, 2007
  58. Alex RiesenOct 15, 2007
  59. Alex RiesenOct 15, 2007
  60. Andreas EricssonOct 14, 2007
  61. Daniel BarkalowOct 16, 2007
  62. Eli ZaretskiiOct 16, 2007
  63. Andreas EricssonOct 16, 2007
  64. Eli ZaretskiiOct 16, 2007
  65. Daniel BarkalowOct 16, 2007
  66. Johannes SchindelinOct 16, 2007
  67. Peter KarlssonOct 16, 2007
  68. Eli ZaretskiiOct 16, 2007
  69. Eli ZaretskiiOct 16, 2007
  70. David KastrupOct 16, 2007
  71. Johannes SchindelinOct 16, 2007
  72. Dave KornOct 16, 2007
  73. David BrownOct 16, 2007
  74. Nicolas PitreOct 16, 2007
  75. Dave KornOct 16, 2007
  76. Christopher FaylorOct 16, 2007
  77. Andreas EricssonOct 16, 2007
  78. Steffen ProhaskaOct 16, 2007
  79. Johannes SchindelinOct 16, 2007
  80. Steffen ProhaskaOct 16, 2007
  81. Johannes SchindelinOct 16, 2007
  82. Steffen ProhaskaOct 16, 2007
  83. Johannes SchindelinOct 16, 2007
  84. Steffen ProhaskaOct 16, 2007
  85. Eli ZaretskiiOct 16, 2007
  86. Robin RosenbergOct 17, 2007
  87. Daniel BarkalowOct 16, 2007
  88. Eli ZaretskiiOct 16, 2007
  89. Johannes SchindelinOct 16, 2007
  90. David KastrupOct 16, 2007
  91. Eli ZaretskiiOct 16, 2007
  92. Johannes SchindelinOct 16, 2007
  93. Eli ZaretskiiOct 16, 2007
  94. Johannes SchindelinOct 16, 2007
  95. Eli ZaretskiiOct 16, 2007
  96. Daniel BarkalowOct 16, 2007
  97. David KastrupOct 16, 2007
  98. Johannes SixtOct 16, 2007
  99. Eli ZaretskiiOct 16, 2007
  100. Dave KornOct 14, 2007
  101. Johannes SchindelinOct 15, 2007
  102. Alex RiesenOct 15, 2007
  103. David BrownOct 15, 2007
  104. Eli ZaretskiiOct 15, 2007
  105. Andreas EricssonOct 15, 2007
  106. Johannes SixtOct 15, 2007
  107. Andreas EricssonOct 15, 2007
  108. Dave KornOct 15, 2007
  109. Michael GebetsroitherOct 15, 2007
  110. Alex RiesenOct 15, 2007
  111. David KastrupOct 15, 2007
  112. Alex RiesenOct 15, 2007
  113. Peter KarlssonOct 16, 2007
  114. Martin LanghoffOct 15, 2007
  115. Johannes SixtOct 15, 2007
  116. Shawn O. PearceOct 15, 2007
  117. Johannes SixtOct 16, 2007
  118. Shawn O. PearceOct 16, 2007
  119. Johannes SixtOct 16, 2007
  120. Johannes SchindelinOct 16, 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.