diff options
Diffstat (limited to 'Command/PreCommit.hs')
-rw-r--r-- | Command/PreCommit.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/PreCommit.hs b/Command/PreCommit.hs index e675483c4..7ecf496a9 100644 --- a/Command/PreCommit.hs +++ b/Command/PreCommit.hs @@ -20,7 +20,7 @@ def = [command "pre-commit" paramPaths seek "run by git pre-commit hook"] seek :: [CommandSeek] seek = [ whenNotDirect $ withFilesToBeCommitted $ whenAnnexed $ Command.Fix.start - , withFilesUnlockedToBeCommitted start] + , whenNotDirect $ withFilesUnlockedToBeCommitted start] start :: FilePath -> CommandStart start file = next $ perform file |