This commit is contained in:
Joey Hess 2019-09-30 17:35:38 -04:00
parent ccf9f03c84
commit 7b5ce2b330
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -13,3 +13,9 @@ Problem: Many urls could be used to clone. http and ssh are the obvious
two. url=http:// url=ssh:// won't work, only one value will be used. two. url=http:// url=ssh:// won't work, only one value will be used.
url1= url2= is annoying for the user, especially if they later want to add url1= url2= is annoying for the user, especially if they later want to add
another url with enableremote and have to work out the number. another url with enableremote and have to work out the number.
Problem: The user might go in and change the remote's url to point to some
other server with a different git-lfs backend. In fact, they could already
do so! Remembering the urls actually would let the special remote detect
this; it can check if its remote's url is one that it knows about, and
refuse to use it otherwise.