aboutsummaryrefslogtreecommitdiff
path: root/doc/direct_mode.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-12-29 14:28:19 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-12-29 14:28:19 -0400
commitee3407de64d52d91500c6b761ad45c7a22eb73cb (patch)
tree5740f4e2c706f033d1a18602eb7e9148f6a1f365 /doc/direct_mode.mdwn
parent1b007068ca4936306889b8b3af2bf224746a2318 (diff)
block all commands that don't work in direct mode
I left status working in direct mode, although it doesn't show correct stats for known annex keys.
Diffstat (limited to 'doc/direct_mode.mdwn')
-rw-r--r--doc/direct_mode.mdwn12
1 files changed, 4 insertions, 8 deletions
diff --git a/doc/direct_mode.mdwn b/doc/direct_mode.mdwn
index 2acf52fd5..862a843cf 100644
--- a/doc/direct_mode.mdwn
+++ b/doc/direct_mode.mdwn
@@ -42,9 +42,9 @@ 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 like `git
-annex copy` and `git annex move` to transfer the contents of files to the
-direct mode repository.
+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.
You can use `git commit --staged`. (But not `git commit -a` .. It'll commit
whole large files into git!)
@@ -53,15 +53,11 @@ You can use `git log` and other git query commands.
## what doesn't work in direct mode
-Don't use `git annex add` -- it thinks all direct mode files are unlocked,
-and locks them.
-
In general git-annex commands will only work in direct mode repositories on
files whose content is not present. That's because such files are still
represented as symlinks, which git-annex commands know how to operate on.
So, `git annex get` works, but `git annex drop` and `git annex move` don't,
-and things like `git annex fsck` and `git annex status` show incomplete
-information.
+and things like `git annex status` show incomplete information.
It's technically possible to make all git-annex commands work in direct
mode repositories, so this might change. Check back to this page to see