git-annex/Command
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
..
Add.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
AddUnused.hs get rid of racy addLink 2022-06-14 14:47:15 -04:00
AddUrl.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
Adjust.hs rename to --unlock-present and better reverse adjusting 2020-11-13 14:56:43 -04:00
Assistant.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Benchmark.hs improve benchmark --databases 2019-11-21 17:25:20 -04:00
CalcKey.hs safe output to terminal for calckey inprogress and lookupkey 2023-04-12 14:03:44 -04:00
CheckPresentKey.hs filter out control characters and quote filenames 2023-04-11 14:27:22 -04:00
Config.hs filter out control characters and quote filenames 2023-04-11 14:27:22 -04:00
ConfigList.hs don't frontload reconcileStaged in git-annex init 2022-11-18 13:58:47 -04:00
ContentLocation.hs add SeekInput (not yet used) 2020-09-15 15:41:13 -04:00
Copy.hs use transfer stages for copy --from 2023-01-24 14:07:49 -04:00
Dead.hs improve usage 2022-10-03 13:49:42 -04:00
Describe.hs git style quoting for ActionItemOther 2023-04-08 16:30:01 -04:00
DiffDriver.hs simplify and speed up Utility.FileSystemEncoding 2021-08-11 12:13:31 -04:00
Direct.hs Automatically convert direct mode repositories to v7 with adjusted unlocked branches 2019-08-26 15:05:25 -04:00
Drop.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
DropKey.hs remove --backend from global options 2022-06-29 13:33:25 -04:00
DropUnused.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
EnableRemote.hs support enableremote of git repo changing eg autoenable= 2023-04-18 14:00:24 -04:00
EnableTor.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
ExamineKey.hs fix mojibake reversion in display of utf8 2023-04-12 13:53:30 -04:00
Expire.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
Export.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
FilterBranch.hs remove --backend from global options 2022-06-29 13:33:25 -04:00
FilterProcess.hs smudge: Warn when encountering a pointer file that has other content appended to it 2022-02-23 15:17:08 -04:00
Find.hs fix mojibake reversion in display of utf8 2023-04-12 13:53:30 -04:00
FindKeys.hs fix mojibake reversion in display of utf8 2023-04-12 13:53:30 -04:00
FindRef.hs remove --backend from global options 2022-06-29 13:33:25 -04:00
Fix.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
Forget.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
FromKey.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Fsck.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
FuzzTest.hs eliminate showStart showStartOther 2023-04-10 16:28:58 -04:00
GCryptSetup.hs add SeekInput (not yet used) 2020-09-15 15:41:13 -04:00
Get.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
Group.hs filter out control characters and quote filenames 2023-04-11 14:27:22 -04:00
GroupWanted.hs git style quoting for ActionItemOther 2023-04-08 16:30:01 -04:00
Help.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Import.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
ImportFeed.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
InAnnex.hs add SeekInput (not yet used) 2020-09-15 15:41:13 -04:00
Indirect.hs Automatically convert direct mode repositories to v7 with adjusted unlocked branches 2019-08-26 15:05:25 -04:00
Info.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
Init.hs git style quoting for ActionItemOther 2023-04-08 16:30:01 -04:00
InitRemote.hs git style quoting for ActionItemOther 2023-04-08 16:30:01 -04:00
Inprogress.hs fix build 2023-04-12 14:31:56 -04:00
List.hs filter out control characters and quote filenames 2023-04-11 14:27:22 -04:00
Lock.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Log.hs filter out control characters and quote filenames 2023-04-11 14:27:22 -04:00
LookupKey.hs safe output to terminal for calckey inprogress and lookupkey 2023-04-12 14:03:44 -04:00
Map.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
MatchExpression.hs split ProvidedInfo and UserProvidedInfo 2020-09-28 12:12:38 -04:00
Merge.hs git style quoting for ActionItemOther 2023-04-08 16:30:01 -04:00
MetaData.hs filter out control characters and quote filenames 2023-04-11 14:27:22 -04:00
Migrate.hs addurl, importfeed: Fix failure when annex.securehashesonly is set 2023-03-27 15:10:46 -04:00
MinCopies.hs git style quoting for ActionItemOther 2023-04-08 16:30:01 -04:00
Mirror.hs improve concurrency of move/copy --from --to 2023-01-24 13:59:39 -04:00
Move.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
Multicast.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
NotifyChanges.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
NumCopies.hs git style quoting for ActionItemOther 2023-04-08 16:30:01 -04:00
P2P.hs filter out control characters and quote filenames 2023-04-11 14:27:22 -04:00
P2PStdIO.hs finish CommandStart transition 2019-06-12 13:24:01 -04:00
PostReceive.hs remove direct mode remnant of merging unrelated histories 2021-07-19 11:41:26 -04:00
PreCommit.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
Proxy.hs Automatically convert direct mode repositories to v7 with adjusted unlocked branches 2019-08-26 15:05:25 -04:00
ReadPresentKey.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
RecvKey.hs avoid flushing keys db queue after each Annex action 2022-10-12 14:12:23 -04:00
RegisterUrl.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
Reinit.hs git style quoting for ActionItemOther 2023-04-08 16:30:01 -04:00
Reinject.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
ReKey.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
RemoteDaemon.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
RenameRemote.hs better handling of multiple repositories with the same name 2023-02-13 14:31:09 -04:00
Repair.hs move several readonly values to AnnexRead 2022-06-28 15:40:19 -04:00
Required.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
ResolveMerge.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
Restage.hs restage: New git-annex command, handles restaging unlocked files 2022-09-23 16:29:59 -04:00
RmUrl.hs restore old registerurl location tracking behavior 2023-04-05 17:06:44 -04:00
Schedule.hs filter out control characters and quote filenames 2023-04-11 14:27:22 -04:00
Semitrust.hs improve usage 2022-10-03 13:49:42 -04:00
SendKey.hs addurl, importfeed: Fix failure when annex.securehashesonly is set 2023-03-27 15:10:46 -04:00
SetKey.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
SetPresentKey.hs reject batch options combined with non-batch options 2022-01-26 13:00:19 -04:00
Smudge.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Status.hs filter out control characters and quote filenames 2023-04-11 14:27:22 -04:00
Sync.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
Test.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
TestRemote.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
TransferKey.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
TransferKeys.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Transferrer.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Trust.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Unannex.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Undo.hs filter out control characters in warning messages 2023-04-10 15:55:44 -04:00
Ungroup.hs git style quoting for ActionItemOther 2023-04-08 16:30:01 -04:00
Uninit.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Unlock.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
UnregisterUrl.hs restore old registerurl location tracking behavior 2023-04-05 17:06:44 -04:00
Untrust.hs improve usage 2022-10-03 13:49:42 -04:00
Unused.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
Upgrade.hs don't frontload reconcileStaged in git-annex init 2022-11-18 13:58:47 -04:00
VAdd.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
VCycle.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
Version.hs fix spelling of upgradeable 2022-01-19 12:14:50 -04:00
VFilter.hs understand adjusted view branch names 2023-02-27 14:57:58 -04:00
Vicfg.hs vicfg: Include mincopies configuration 2022-09-15 15:11:59 -04:00
View.hs filter out control characters in all other Messages 2023-04-11 12:58:01 -04:00
VPop.hs git style quoting for ActionItemOther 2023-04-08 16:30:01 -04:00
Wanted.hs filter out control characters and quote filenames 2023-04-11 14:27:22 -04:00
Watch.hs remotedaemon: Don't list --stop in help since it's not supported. 2019-09-30 14:40:46 -04:00
WebApp.hs Apply codespell -w throughout 2023-03-17 15:14:58 -04:00
Whereis.hs find, findkeys, examinekey: escape output to terminal when --format is not used 2023-04-11 15:27:07 -04:00
WhereUsed.hs whereused: Fix display of branch:file when run in a subdirectory 2023-04-12 15:18:04 -04:00