git-annex/Remote
Joey Hess 8728695b9c
support enableremote of git repo changing eg autoenable=
enableremote: Support enableremote of a git remote (that was previously set
up with initremote) when additional parameters such as autoenable= are
passed.

The enableremote special case for regular git repos is intended to handle
ones that don't have a UUID probed, and the user wants git-annex to
re-probe. So, that special case is still needed. But, in that special
case, the user is not passing any extra parameters. So, when there are
parameters, instead run the special remote setup code. That requires there
to be a uuid known already, and it allows changing things like autoenable=

Remote.Git.enableRemote changed to be a no-op if a git remote with the name
already exists. Which it generally will in this case.

Sponsored-by: Jack Hill on Patreon
2023-04-18 14:00:24 -04:00
..
Directory improve createDirectoryUnder to allow alternate top directories 2022-08-12 12:52:37 -04:00
External filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Helper filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
List auto-init autoenable=yes 2020-05-27 12:40:35 -04:00
Rsync add newtypes for QuickCheck to avoid LANG=C issues 2020-11-09 20:21:18 -04:00
WebDAV Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Adb.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
BitTorrent.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
Borg.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Bup.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Ddar.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
Directory.hs fix build warnings on windows 2023-03-21 18:41:23 -04:00
External.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
GCrypt.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Git.hs support enableremote of git repo changing eg autoenable= 2023-04-18 14:00:24 -04:00
GitLFS.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Glacier.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
Hook.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
HttpAlso.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
List.hs start borg special remote 2020-12-18 16:03:51 -04:00
P2P.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Rsync.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
S3.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
Tahoe.hs added an optional cost= configuration to all special remotes 2023-01-12 13:42:28 -04:00
Web.hs Typo: sansative -> sensitive 2023-03-17 15:14:50 -04:00
WebDAV.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00