3 subject="""comment 1"""
4 date="2021-01-21T16:57:06Z"
6 The git source code does not appear to behave
7 like that, see http.c `normalize_curl_result`, which reauths on 401, but
8 not on 404. If you think git behaves like this, you need to show an example
9 where it clearly accesses an url that is 404 and goes on to authenticate.
11 Seems to me that these hosting sites may simply not be exposing foo.git/config
12 to http. Git does not request that file over http. Such a hosting site would
13 probably also not expose foo.git/annex/ over http, so git-annex would not be
14 able to use it anyway. To support git-annex, it would need to
15 expose both, and then git-annex's handling of 401 should work fine for