From: Avery Pennarun <apenwarr@gmail.com>
To: Tim Visher <tim.visher@gmail.com>
Cc: santos2010 <santos.claudia2009@googlemail.com>, git@vger.kernel.org
Subject: Re: git daemon on Windows environment
Date: Fri, 30 Apr 2010 17:44:03 -0400 [thread overview]
Message-ID: <j2q32541b131004301444iea34b138v4c34260aa82f8ec8@mail.gmail.com> (raw)
In-Reply-To: <t2jc115fd3c1004301434ofe8970fo2ea933dd450847d7@mail.gmail.com>
On Fri, Apr 30, 2010 at 5:34 PM, Tim Visher <tim.visher@gmail.com> wrote:
> As far as I know, git --daemon is explicitly not supported in Windows
> environments. At least that was the case not too long ago.
git daemon works perfectly fine in cygwin. I've heard that the
msysgit one doesn't necessarily work, but that may have been fixed.
I haven't tried using the git daemon as a service, though; I mostly
use it as an ad-hoc thing to easily let me exchange branches with my
co-workers before they're ready to be pushed into the "real" server,
thus it doesn't matter much if git-daemon doesn't restart on boot. So
I can't help with the original poster's problem.
> If you're running git --daemon because of its efficiency, have you
> considered the fact that [smart-http][] is almost as efficient? That
> should work in any http server, a plethora of which exist for Windoze.
That's about 10000 times harder than running 'git daemon' from the
command line, though, if all you want is ad-hoc sharing.
Your suggestion is probably a good one for setting up a "real" Windows
git server; setting up a Windows ssh server should also work. We just
use a Linux server at work, even for our Windows users, and life is
fine.
> Also, file system cloning is very efficient so if you're trying to
> share a repository you could in theory share over the file system
> using filesystem permissions to allow for cloning.
Hmm, in my experience, git cloning over NFS/SMB is kind of crappy;
using a real git server is much faster. This is because of latency:
the client doesn't know which bytes to read until it reads some of the
other bytes, so there's a lot of back-and-forth communication. The
"real" git protocols (like git daemon, smart http, ssh server, etc)
let the server make these decisions and can thus go much faster.
Have fun,
Avery
next prev parent reply other threads:[~2010-04-30 21:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-29 9:07 git daemon on Windows environment santos2010
2010-04-30 21:34 ` Tim Visher
2010-04-30 21:44 ` Avery Pennarun [this message]
2010-05-01 4:17 ` Jon Seymour
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=j2q32541b131004301444iea34b138v4c34260aa82f8ec8@mail.gmail.com \
--to=apenwarr@gmail.com \
--cc=git@vger.kernel.org \
--cc=santos.claudia2009@googlemail.com \
--cc=tim.visher@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).