list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
* git remote-helpers and connectivity-ok
@ 2019-08-27  3:51 David Turner
  0 siblings, 0 replies; only message in thread
From: David Turner @ 2019-08-27  3:51 UTC (permalink / raw)
  To: Git Mailing List

Quoth the git-remote-helpers man page:
"If option check-connectivity is requested, the helper must output
connectivity-ok if the clone is self-contained and connected."

I tried doing that in a helper, but I still got a connectivity check. 
Looking at the code, it looks like this only works if I supply a
".keep" file, and it only works for objects within the kept pack.  If I
want my helper to write more than one pack, I can't use this feature.

What I would expect, given the man page text, is that if connectivity-
ok is output, the entire rev-list bit is skipped.  

Is this a bug?  Or is it working as intended, and the documentation is
just unclear?  Should there be an option for "I (the remote helper)
know what I am doing, so please don't bother to check connectivity"?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-08-27  4:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-27  3:51 git remote-helpers and connectivity-ok David Turner

Code repositories for project(s) associated with this inbox:

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 read-only IMAP folder(s) and NNTP newsgroup(s).