This commit is contained in:
Joey Hess 2019-09-27 11:51:52 -04:00
parent 571ce54baf
commit 946ea4b961
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,11 @@
If there's a git remote named "foo", and a special remote with the same
name, `git annex enableremote foo` just prints "ok" and silently does
nothing.
Perhaps worse, passing enableremote the uuid of the special remote causes
it to *modify* the same named git remote's config, adding/replacing
annex-uuid and adding whatever other git configs the special remote uses.
--[[Joey]]
(initremote does check if there's already a remote with the same name, and
refuses to overwrite it).