git-annex/CmdLine
Joey Hess bff089a392
prevent initialization with bad freeze/thaw hook configured
When annex.freezecontent-command or annex.thawcontent-command is configured
but fails, prevent initialization.

This allows the user to fix their configuration and avoid crippled
filesystem detection entering an adjusted unlocked branch unexpectedly,
when they had been relying on the hooks working around their filesystems's
infelicities.

In the case of git-remote-annex, a failure of these hooks is taken to mean
the filesystem may be crippled, so it deletes the bundles objects and
avoids initialization. That might mean extra work, but only in this edge
case where the hook is misconfigured. And it keeps the command working
for cloning even despite the misconfiguration.

Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
2025-05-27 12:54:31 -04:00
..
GitAnnex p2phttp support --jobs with --directory 2024-11-21 14:15:14 -04:00
GitAnnexShell more OsPath conversion (658/749) 2025-02-08 15:27:44 -04:00
Action.hs add Annex worker pool to P2PHttp 2024-07-10 12:19:47 -04:00
AnnexSetter.hs remove --backend from global options 2022-06-29 13:33:25 -04:00
Batch.hs more OsPath conversion (520/749) 2025-02-05 15:07:59 -04:00
GitAnnex.hs findcomputed: New command, displays information about computed files. 2025-03-18 12:55:48 -04:00
GitAnnexShell.hs more OsPath conversion (658/749) 2025-02-08 15:27:44 -04:00
GitRemoteAnnex.hs prevent initialization with bad freeze/thaw hook configured 2025-05-27 12:54:31 -04:00
GitRemoteTorAnnex.hs git-annex-shell: block relay requests 2024-06-10 14:16:27 -04:00
Multicall.hs git-remote-annex: Fix buggy behavior when annex.stalldetection is configured 2024-11-25 12:14:52 -04:00
Option.hs initial implementation of --explain 2023-07-25 16:52:57 -04:00
Seek.hs more OsPath conversion (520/749) 2025-02-05 15:07:59 -04:00
Usage.hs started Annex.Sim 2024-09-04 15:15:36 -04:00