summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/git-annex.mdwn7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 6aaea6753..7294fb277 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -269,11 +269,14 @@ 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 most git
- commands and some git-annex commands will not work in direct mode.
+ files, the files are directly present in the repository.
As part of the switch to direct mode, any changed files will be committed.
+ Note that git commands that operate on the work tree are often unsafe to
+ use in direct mode repositories, and can result in data loss or other
+ bad behavior.
+
* indirect
Switches a repository back from direct mode to the default, indirect mode.