git-annex/Remote
Joey Hess d11b3bc1af
Honor --force option when operating on a local git remote
Propagate Annex.force into the remote's Annex state.

Fixes this problem:

joey@darkstar:~/tmp/xxxx>git-annex copy mmm --to origin --force
copy mmm (to origin...)
  not enough free space, need 908.72 MB more (use --force to override this check or adjust annex.diskreserve)

  failed to send content to remote
failed

Does beg the question if anything else should be propagated.
Some things like Annex.forcenumcopies certianly not; using --numcopies
overrides the number of copies the current repo wants, not all of them.

Sponsored-by: Graham Spencer on Patreon
2023-04-19 12:53:58 -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 Honor --force option when operating on a local git remote 2023-04-19 12:53:58 -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