git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git clone against firewall
@ 2010-01-14 23:45 Sebastian Pipping
  2010-01-15 18:17 ` Junio C Hamano
  0 siblings, 1 reply; 8+ messages in thread
From: Sebastian Pipping @ 2010-01-14 23:45 UTC (permalink / raw)
  To: git

hello!


with a firewall blocking outgoing connections to port 9418 a

  git clone git://...

of git 1.6.6 seems to never return, i.e. loop forever.  in my rather
automated environment (gentoo's tool layman calling git) this behavior
is rather troublesome - i need some kind of abort-and-error instead:
what i'm trying to do is loop over a number of clone URL alternatives of
the same repository like ..

  git://git.overlays.gentoo.org/dev/dberkholz.git
  http://git.overlays.gentoo.org/gitroot/dev/dberkholz.git
  git+ssh://git@git.overlays.gentoo.org/dev/dberkholz.git

.. and stop at the first clone that returns without error.

are there means to make git fail in such a case or to apply a timout?
if not please consider adding a related commandline option to git-clone.

thank you.



sebastian

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

end of thread, other threads:[~2010-01-18  2:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-14 23:45 git clone against firewall Sebastian Pipping
2010-01-15 18:17 ` Junio C Hamano
2010-01-15 19:12   ` Sebastian Pipping
2010-01-15 19:19     ` Sebastian Pipping
2010-01-15 19:30     ` Andreas Schwab
2010-01-15 19:33       ` Sebastian Pipping
2010-01-15 23:03         ` Andreas Krey
2010-01-18  2:04           ` Sebastian Pipping

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