summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-11-24 17:58:16 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-11-24 17:58:16 -0400
commit4f5dde573414ba586420ef4117c8356367d65c83 (patch)
treefc6c6ab8dc3df7c7baadf4a36f6463edc8eb7eae
parentad3d373330bfe4c12672e373b8d4f46291a47793 (diff)
avoid commits when running fix and find
-rw-r--r--Command/Find.hs2
-rw-r--r--Command/Fix.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Command/Find.hs b/Command/Find.hs
index 1e509d1dd..96f47ec87 100644
--- a/Command/Find.hs
+++ b/Command/Find.hs
@@ -20,7 +20,7 @@ import Types.Key
import qualified Option
def :: [Command]
-def = [withOptions [formatOption, print0Option] $
+def = [noCommit $ withOptions [formatOption, print0Option] $
command "find" paramPaths seek "lists available files"]
formatOption :: Option
diff --git a/Command/Fix.hs b/Command/Fix.hs
index 227e08cd2..38c8ac6e6 100644
--- a/Command/Fix.hs
+++ b/Command/Fix.hs
@@ -13,7 +13,7 @@ import qualified Annex.Queue
import Annex.Content
def :: [Command]
-def = [command "fix" paramPaths seek
+def = [noCommit $ command "fix" paramPaths seek
"fix up symlinks to point to annexed content"]
seek :: [CommandSeek]