summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-10-31 15:18:41 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-10-31 15:18:41 -0400
commit3d3e1c4c25f4bbefd0f5e3f445444f3293875a93 (patch)
tree0331686878d92d8fc082875c605cc1245ef9beba /Command
parent09861cf4f75e2bb9e5597f8b9ea39ab4a33bf4d8 (diff)
better command name
Diffstat (limited to 'Command')
-rw-r--r--Command/Reinject.hs (renamed from Command/SetContent.hs)6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/SetContent.hs b/Command/Reinject.hs
index b63cc9119..63309aa52 100644
--- a/Command/SetContent.hs
+++ b/Command/Reinject.hs
@@ -5,7 +5,7 @@
- Licensed under the GNU GPL version 3 or higher.
-}
-module Command.SetContent where
+module Command.Reinject where
import Common.Annex
import Command
@@ -14,7 +14,7 @@ import Annex.Content
import qualified Command.Fsck
def :: [Command]
-def = [command "setcontent" (paramPair paramPath paramPath) seek
+def = [command "reinject" (paramPair paramPath paramPath) seek
"sets content of annexed file"]
seek :: [CommandSeek]
@@ -22,7 +22,7 @@ seek = [withWords start]
start :: [FilePath] -> CommandStart
start (src:dest:[]) = do
- showStart "setcontent" dest
+ showStart "reinject" dest
next $ perform src dest
start _ = error "specify a src file and a dest file"