More commands work in direct mode repositories: find, whereis, move, copy, drop, log.

These started working, for free, once lookupFile supported direct mode.

yay!!
This commit is contained in:
Joey Hess 2013-01-05 17:16:58 -04:00
parent 1c83b6c439
commit b68eee625f
9 changed files with 15 additions and 16 deletions

View file

@ -41,11 +41,9 @@ Otherwise, the main command that's used in direct mode repositories is
`git annex sync`. This automatically adds new files, commits all
changed files to git, pushes them out, pulls down any changes, etc.
You can also run `git annex get` to transfer the content of files into your
direct mode repository. Or if the direct mode repository is a remote of
some other, regular git-annex repository, you can use commands in the other
repository like `git annex copy` and `git annex move` to transfer the
contents of files to the direct mode repository.
`git annex add` and some other commands are not yet supported in direct
mode repositories. Feel free to try any git annex command though; ones that
don't support direct mode will refuse to do anything.
You can use `git commit --staged`. (But not `git commit -a` .. It'll commit
whole large files into git!)

View file

@ -269,9 +269,9 @@ subdirectories).
* direct
Switches a repository to use direct mode, where rather than symlinks to
files, the files are directly present in the repository. Note that many git
and git-annex commands will not work in direct mode; you're mostly
limited to using "git annex sync" and "git annex get".
files, the files are directly present in the repository. Note that most git
commands and some git-annex commands will not work in direct mode; you're
mostly limited to using "git annex sync" and "git annex get".
As part of the switch to direct mode, any changed files will be committed.