refactored and generalized pre-command sanity checking
This commit is contained in:
parent
66194684ac
commit
5b74b130a3
38 changed files with 73 additions and 67 deletions
|
@ -13,7 +13,8 @@ import qualified Command.Fix
|
|||
import Backend
|
||||
|
||||
command :: [Command]
|
||||
command = [repoCommand "pre-commit" paramPaths seek "run by git pre-commit hook"]
|
||||
command = [Command "pre-commit" paramPaths needsRepo seek
|
||||
"run by git pre-commit hook"]
|
||||
|
||||
{- The pre-commit hook needs to fix symlinks to all files being committed.
|
||||
- And, it needs to inject unlocked files into the annex. -}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue