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

Re: What's not in 'master', and likely not to be until 1.5.4

From
Johannes Sixt <johannes.sixt@telecom.at>
Date
Jan 18, 2008, 22:07 UTC
Message-ID
<20080118220735.B7F4B49B15@dx.sixt.local>
In-Reply-To
<alpine.LSU.1.00.0801181948060.5731@racer.site>
[Don't have Cc: in KNode. oh well...]
Johannes Schindelin wrote:
Show 10 quoted lines
> On Fri, 18 Jan 2008, Johannes Sixt wrote:
>> BTW, how would you like to have a 40+ patch series presented that
>> implements the port to MinGW? Should I send to the ML despite its volume?
>> (Of course not before 1.5.4 is released.)
>> 
>> The current state of the series is available here:
>> http://repo.or.cz/w/git/mingw/j6t.git?a=shortlog;h=upstream
> 
> Comments from reading the patches briefly (since there are 42 patches, it
> needs quite some time to even do it briefly):
Thanks a lot!
I agree with everything I didn't quote from your message.
Show 22 quoted lines
> - Possibly some of these commits could be folded back into
>   f90524e(Add target architecture MinGW):
> 
>   96a27f1(MinGW: Implement gettimeofday()),
>   2e05f891(Implement a rudimentary poll() emulation for Windows),
>   142bda0(Fake implementions of getpwuid(), getuid(), and getpwnam() for
> Windows),
>   e799caf(Implement setitimer() and sigaction()),
>   075fee7(Implement a wrapper of execve that can invoke shell scripts),
>   495f0af(Work around misbehaved rename() on Windows),
>   34cf7fd(Implement a pipe() replacement whose ends are not inherited to
> children),
>   4504323(Implement start_command() for Windows),
>   b8e84a6(Implement a work-around for a misbehaved vsnprintf on Windows),
>   08bbcb4(Windows: always chmod(, 0666) before unlink()),
>   f6bbf12(Windows: Implement a wrapper of the open() function),
>   56cedf3(Windows: Fix PRIuMAX definition),
>   7458a97(Windows: Implement wrappers for gethostbyname(), socket(), and
> connect()),
>   ef25947(Windows: Fix ntohl() related warnings about printf formatting),
>   b9db7ad(Windows: Implement a custom spawnve()), and
>   47dacb3(compat/pread.c: Add foward decl to fix warning)

This would become a gigantic patch, which I really dislike. It's much easier to follow (and bisect) if things appear in smaller pieces.

Show 7 quoted lines
> - d6596ed(gitk: Disable msgfmt on MinGW) and
>   004fb4b(Fix renaming .gitk-new to .gitk on Windows if there is already a
> .gitk)
>   are gitk patches.
>   Further, I think that d6596ed would be better done as an automatic
>   detection of msgfmt's presence; on my Eee PC, there is no msgfmt
>   either...
Let's do that later.
Show 7 quoted lines
> - 20fd16e(Windows: Use a customized struct stat that also has the
> st_blocks member) should be folded into
>   6f97065(Add a new lstat and fstat implementation based on Win32 API)
>   (with a comment that you customized the struct stat, too)
> 
>   But then, without 20fd16e, git does not compile, so again I would rather
>   fold that back into the MinGW commit.

The custom lstat() implementation cannot come after the custom struct stat because we can't call Windows's stat() with a custom struct stat. But I also don't want the custom lstat() in the code from the beginning because it's merely an optimization.

> - in git.git, the onelines are not terminated by "."
You mean commit messages?
> - I'd prefer f90524e(Add target architecture MinGW) to come last.
>   Alternatively, you could cut out the Makefile change so that the series
>   is still bisectable: MinGW will just not be supported until the very
>   end.

I strongly disagree. The series is completely bisectable on *nix. But if the Makefile change comes last, it becomes difficult to bisect on MinGW.

Show 10 quoted lines
> $ git grep __MINGW j6t/upstream
> 
> comes up with 26 hits.
> 
> The first of them: cache.h:381, function is_absolute_path().  That just
> cries out loud to be "#ifdef DOS_STYLE_PATHS" instead of "#ifdef
> __MINGW32__".
> 
> I guess there should also be -DHAS_NO_FORK_BUT_THREADS -DHAS_TMP_AND_TEMP
> -DHAS_WINSOCK2, but most of them look like -DDOS_STYLE_PATHS to me.

Doesn't this go too far? How many systems are there where not all of them would be set at the same time?

-- Hannes
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 64 of 134 in “Allowing override of the default "origin" nickname”
  1. Mark LevedahlJan 11, 2008
  2. Teach remote machinery about remotes.default config variableMark Levedahl, Jan 11, 2008
  3. git-remote - Unset remotes.default when deleting the default remoteMark Levedahl, Jan 11, 2008
  4. git-clone - Set remotes.default config variableMark Levedahl, Jan 11, 2008
  5. git-submodule - Possibly inherit parent's default remote on init/cloneMark Levedahl, Jan 11, 2008
  6. Junio C HamanoJan 11, 2008
  7. Mark LevedahlJan 11, 2008
  8. Junio C HamanoJan 12, 2008
  9. Mark LevedahlJan 12, 2008
  10. Junio C HamanoJan 12, 2008
  11. Mark LevedahlJan 12, 2008
  12. Junio C HamanoJan 12, 2008
  13. Mark LevedahlJan 12, 2008
  14. Junio C HamanoJan 12, 2008
  15. Mark LevedahlJan 12, 2008
  16. Johannes SchindelinJan 12, 2008
  17. Mark LevedahlJan 12, 2008
  18. Johannes SchindelinJan 13, 2008
  19. Mark LevedahlJan 14, 2008
  20. Junio C HamanoJan 14, 2008
  21. Mark LevedahlJan 15, 2008
  22. Junio C HamanoJan 15, 2008
  23. Mark LevedahlJan 15, 2008
  24. Johannes SchindelinJan 16, 2008
  25. Mark LevedahlJan 16, 2008
  26. Johannes SchindelinJan 16, 2008
  27. Junio C HamanoJan 12, 2008
  28. Mark LevedahlJan 12, 2008
  29. Junio C HamanoJan 12, 2008
  30. Mark LevedahlJan 13, 2008
  31. Teach remote machinery about core.origin config variableMark Levedahl, Jan 13, 2008
  32. git-remote - Unset core.origin when deleting the default remoteMark Levedahl, Jan 13, 2008
  33. git-clone - Set remotes.origin config variableMark Levedahl, Jan 13, 2008
  34. git-submodule - Possibly inherit parent's default remote on init/cloneMark Levedahl, Jan 13, 2008
  35. Teach git-submodule to use master's remote when updating subprojectsMark Levedahl, Jan 13, 2008
  36. Jeff KingJan 14, 2008
  37. Mark LevedahlJan 15, 2008
  38. Jeff KingJan 15, 2008
  39. Johannes SchindelinJan 13, 2008
  40. Junio C HamanoJan 14, 2008
  41. safecrlf not in 1.5.4 (was Re: [PATCH] Teach remote machinery about remotes.default config variable)Steffen Prohaska, Jan 14, 2008
  42. Johannes SchindelinJan 14, 2008
  43. valgrind test scripts (was Re: [PATCH] Teach remote...)Jeff King, Jan 14, 2008
  44. What's not in 'master' but should beJunio C Hamano, Jan 18, 2008
  45. Lars HjemliJan 18, 2008
  46. Junio C HamanoJan 18, 2008
  47. Lars HjemliJan 18, 2008
  48. Junio C HamanoJan 18, 2008
  49. Lars HjemliJan 18, 2008
  50. Johannes SchindelinJan 18, 2008
  51. Lars HjemliJan 18, 2008
  52. Junio C HamanoJan 18, 2008
  53. What's not in 'master', and likely not to be until 1.5.4Junio C Hamano, Jan 18, 2008
  54. Johannes SixtJan 18, 2008
  55. Junio C HamanoJan 18, 2008
  56. Steffen ProhaskaJan 18, 2008
  57. Johannes SchindelinJan 18, 2008
  58. Johannes SchindelinJan 18, 2008
  59. Johannes SchindelinJan 18, 2008
  60. Shawn O. PearceJan 21, 2008
  61. Johannes SchindelinJan 21, 2008
  62. Shawn O. PearceJan 23, 2008
  63. Johannes SchindelinJan 23, 2008
  64. Johannes SixtJan 18, 2008
  65. Johannes SchindelinJan 18, 2008
  66. Jakub NarebskiJan 18, 2008
  67. Junio C HamanoJan 18, 2008
  68. Imran M YousufJan 21, 2008
  69. Junio C HamanoJan 21, 2008
  70. Steffen ProhaskaJan 21, 2008
  71. submodule: Document the details of the command line syntaxSteffen Prohaska, Jan 21, 2008
  72. Junio C HamanoJan 21, 2008
  73. Marco CostalbaJan 18, 2008
  74. Marco CostalbaJan 18, 2008
  75. Steffen ProhaskaJan 18, 2008
  76. Johannes SchindelinJan 18, 2008
  77. Steffen ProhaskaJan 18, 2008
  78. What's not in 'master', and likely not to be in, until 1.5.4Junio C Hamano, Jan 21, 2008
  79. Linus TorvaldsJan 21, 2008
  80. Junio C HamanoJan 21, 2008
  81. Junio C HamanoJan 21, 2008
  82. Junio C HamanoJan 21, 2008
  83. Junio C HamanoJan 21, 2008
  84. Junio C HamanoJan 21, 2008
  85. Junio C HamanoJan 21, 2008
  86. 1/2 read-cache.c: introduce is_racy_timestamp() helperJunio C Hamano, Jan 21, 2008
  87. 2/2 read-cache.c: fix timestamp comparisonJunio C Hamano, Jan 21, 2008
  88. Linus TorvaldsJan 21, 2008
  89. Johannes SchindelinJan 21, 2008
  90. Linus TorvaldsJan 21, 2008
  91. Linus TorvaldsJan 21, 2008
  92. Johannes SchindelinJan 21, 2008
  93. Linus TorvaldsJan 21, 2008
  94. Junio C HamanoJan 21, 2008
  95. Linus TorvaldsJan 21, 2008
  96. Junio C HamanoJan 21, 2008
  97. Junio C HamanoJan 22, 2008
  98. Linus TorvaldsJan 22, 2008
  99. Linus TorvaldsJan 22, 2008
  100. Junio C HamanoJan 23, 2008
  101. Linus TorvaldsJan 23, 2008
  102. Johannes SixtJan 21, 2008
  103. Daniel BarkalowJan 21, 2008
  104. Marco CostalbaJan 21, 2008
  105. Johannes SchindelinJan 18, 2008
  106. Johannes SchindelinJan 18, 2008
  107. Johannes SchindelinFeb 18, 2008
  108. Mike HommeyJan 19, 2008
  109. Grégoire BarbierJan 19, 2008
  110. Johannes SchindelinJan 19, 2008
  111. Johannes SchindelinJan 12, 2008
  112. Mark LevedahlJan 12, 2008
  113. Johannes SchindelinJan 12, 2008
  114. Teach remote machinery about core.origin config variableMark Levedahl, Jan 12, 2008
  115. git-remote - Unset core.origin when deleting the default remoteMark Levedahl, Jan 12, 2008
  116. git-clone - Set remotes.origin config variableMark Levedahl, Jan 12, 2008
  117. git-submodule - Possibly inherit parent's default remote on init/cloneMark Levedahl, Jan 12, 2008
  118. Johannes SchindelinJan 11, 2008
  119. Mark LevedahlJan 11, 2008
  120. Johannes SchindelinJan 11, 2008
  121. Mark LevedahlJan 11, 2008
  122. Johannes SchindelinJan 11, 2008
  123. Mark LevedahlJan 11, 2008
  124. Björn SteinbrinkJan 11, 2008
  125. Jakub NarebskiJan 11, 2008
  126. Jakub NarebskiJan 11, 2008
  127. Mark LevedahlJan 11, 2008
  128. Johannes SchindelinJan 11, 2008
  129. Daniel BarkalowJan 11, 2008
  130. Junio C HamanoJan 14, 2008
  131. Steffen ProhaskaJan 14, 2008
  132. Junio C HamanoJan 14, 2008
  133. Dmitry PotapovJan 14, 2008
  134. Pierre HabouzitJan 14, 2008

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.