From: David Turner <novalis@novalis.org>
To: Git Mailing List <git@vger.kernel.org>
Subject: git remote-helpers and connectivity-ok
Date: Mon, 26 Aug 2019 23:51:51 -0400 [thread overview]
Message-ID: <7a13669281bef14b51d120815bc77fdbfa16afab.camel@novalis.org> (raw)
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"?
reply other threads:[~2019-08-27 4:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7a13669281bef14b51d120815bc77fdbfa16afab.camel@novalis.org \
--to=novalis@novalis.org \
--cc=git@vger.kernel.org \
/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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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).