Re: [PATCH 1/3] Support building on systems without poll(2)
- From
Jeff King <peff@peff.net>
- Date
- May 27, 2010, 13:02 UTC
- Message-ID
- <20100527130221.GA1672@coredump.intra.peff.net>
- In-Reply-To
- <AANLkTikoFSMmAyCYPoejTObEmCMv4TmTDx7P4sdWcOJy@mail.gmail.com>
On Thu, May 27, 2010 at 10:43:35AM +0200, Sverre Rabbelier wrote:
Show 5 quoted lines
> On Thu, May 27, 2010 at 10:19, Jonathan Callen <abcd@gentoo.org> wrote: > > Some systems do not have sys/poll.h or poll(2). Don't build > > git-daemon, git-upload-archive, or git-upload-pack on such systems. > > I thought git-upload-pack is required for push support in git?
No, that's send-pack. Upload-pack is the server side of fetching. And yes, these names are confusing. Before I worked a lot on the send-pack code, I used to mix them up all the time. :)
So without upload-pack, one cannot be the server side of a fetch. Which means you can still work as a client, but it does mean that even local clones won't work (actually, the clone will work due to the local hardlink optimization, but further fetches will fail).
-Peff