summaryrefslogtreecommitdiff
path: root/Command/PreCommit.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-11-10 13:32:46 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-11-10 13:32:46 -0400
commitd0886a9ac7b662b2cdfe386af1d81af74925d0b1 (patch)
tree6573d7390fdb1648e426e31a6ef2722e5b53766d /Command/PreCommit.hs
parent99d9c1cf893f1ad6bf400219a47593cf70993768 (diff)
explicity run queue to git add files
Diffstat (limited to 'Command/PreCommit.hs')
-rw-r--r--Command/PreCommit.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/PreCommit.hs b/Command/PreCommit.hs
index 117546359..cd6ce6f08 100644
--- a/Command/PreCommit.hs
+++ b/Command/PreCommit.hs
@@ -33,7 +33,7 @@ start file = do
-- drop that and stage the symlink
g <- Annex.gitRepo
liftIO $ Git.run g ["reset", "-q", "--", file]
- liftIO $ Git.run g ["add", "--", file]
+ Annex.queueRun
-- Fix symlinks as they are committed, this ensures the
-- relative links are not broken when moved around.