git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Notes on http-push
@ 2005-11-07 18:34 Johannes Schindelin
  2005-11-07 19:07 ` Nick Hengeveld
  2005-11-08  8:46 ` Nick Hengeveld
  0 siblings, 2 replies; 5+ messages in thread
From: Johannes Schindelin @ 2005-11-07 18:34 UTC (permalink / raw)
  To: git

Hi,

two little things I noticed while playing around with http-push:

- if you init your test by git-clone'ing from a http repo, be sure to
	add a slash to the URL, else git-push will tell you erroneously
	that the server does not do DAV locking. (Probably http-push.c 
	should be fixed to add the slash when needed.)

- if you execute "git push origin", it does not do anything (correctly?),
	if there is no "Push:" line in .git/remotes/origin (which is the
	default after cloning). Try "git push origin master". (Probably
	http-push or git-push should say something about it, not
	just quit silently.)

If you want to play with it yourself: A minimal setup using Apache needs 
something like this in httpd.conf:

--- snip ---
<Location /gits>
  DAV on
  Deny From *
  Allow From 192.168.0.
</Location>

DAVLockDB "/usr/local/apache2/temp/DAV.lock"
--- snap ---

Make sure that your www user has write permissions on <HTDOCS>/gits and on 
the DAV lock.

Have fun,
Dscho

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-11-08 15:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-07 18:34 Notes on http-push Johannes Schindelin
2005-11-07 19:07 ` Nick Hengeveld
2005-11-08  8:46 ` Nick Hengeveld
2005-11-08  8:59   ` Junio C Hamano
2005-11-08 15:50     ` Nick Hengeveld

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).