Thread (7 messages) flat view 7 messages, 5 authors, 2016-06-15

Re: Cloning from sites with 404 overridden

From: Lukas Sandström <hidden>
Date: 2016-06-15 22:42:22

Possibly related (same subject, not in this thread)

Junio C Hamano wrote:
"Marco Costalba" [off-list ref] writes:
quoted
http://digilander.libero.it /mcostalba/scm/qgit.git/objects/8d/ea03519e75f47d
To be fair, the site is _not_ missing anything from HTTP
protocol perspective, because when git asks 8d/ea0351... file,
the server responds with a regular "HTTP/1.0 200 OK" response.
So it is _your_ repository that is corrupt -- instead of
correctly _lacking_ the file you should have removed with
prune-packed, it has a garbage file.
Actually, it sends a 302 redirect. 

Perhaps a repository config option to treat a 302 as a 404?

/Lukas Sandström
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help