...
This series looks pretty good to me. I like seeing huge blocks
go away only to be replaced with the simple API offered by
run-command.h. Makes the result much easier to follow.
The async interface is also quite simple. Unfortunately there
is some risk with the canonical fork() implementation in that the
async routine might attempt to alter global data that the parent
is also using, and folks on a good UNIX that is using the fork()
implementation will not even notice as they are in totally separated
address spaces. But you'll see it in MSYS Git.
Since builtin-pack-objects now accepts (limited) pthread support,
perhaps this should be implemented in terms of pthread support
when pthreads are available? Most Linux/BSD/Mac OS X systems do
have pthreads these days and that's the majority of git users and
developers. This would make it more likely that bugs in this sort
of code would be detected early. Just a thought.
Hard to argue with that final state. You killed 35 lines and
also made Git easier to port to "that OS unfortunately named after
transparent glass thingies".
--
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html