git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Why does fetch-pack not works over http?
@ 2017-10-27 10:42 Alvaro del Castillo
  2017-10-27 12:33 ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Alvaro del Castillo @ 2017-10-27 10:42 UTC (permalink / raw)
  To: git

Dear all,

We're wondering why "fetch-pack" (when is running from the command
line) doesn't handle "https://" protocol. It only works with "git://".

For instance, this doesn't work:

$ git fetch-pack https://github.com/git/git refs/heads/master
fatal: I don't handle protocol 'https'

while this does:

$ git fetch-pack git://github.com/git/git refs/heads/master

The funny thing is that under the hood, "fetch" calls "fetch-pack"
using "https" procotol. Example of a trace below:

12:03:07.512558 git.c:344               trace: built-in: git 'fetch-
pack' '--stateless-rpc' '--stdin' '--lock-pack' '--thin' 'https://githu
b.com/git/git/'

Cheers
-- 
Alvaro del Castillo San Félix
acs@bitergia.com - Chief Technical Officer (CTO)
http://www.bitergia.com
"Software metrics for your peace of mind"




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

end of thread, other threads:[~2017-10-30 16:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-27 10:42 Why does fetch-pack not works over http? Alvaro del Castillo
2017-10-27 12:33 ` Andreas Schwab
2017-10-30 16:58   ` Alvaro del Castillo

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