This commit is contained in:
Joey Hess 2012-12-19 12:50:24 -04:00
parent 62e15d824c
commit 915cd7f676

View file

@ -27,9 +27,9 @@ def = [command "add" paramPaths seek "add files to annex"]
seek :: [CommandSeek]
seek = [withFilesNotInGit start, withFilesUnlocked start]
{- The add subcommand annexes a file, storing it in a backend, and then
- moving it into the annex directory and setting up the symlink pointing
- to its content. -}
{- The add subcommand annexes a file, generating a key for it using a
- backend, and then moving it into the annex directory and setting up
- the symlink pointing to its content. -}
start :: FilePath -> CommandStart
start file = notBareRepo $ ifAnnexed file fixup add
where