diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-12-04 16:29:27 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-12-04 16:33:09 -0400 |
commit | 6e7468e9e142b379e0323d59f33c334b59c922fa (patch) | |
tree | 94f38e94c254bbc5165a6cbcf4d344d5e61a69af /doc | |
parent | 9a765b7bd8ca28e3f94d9d7a11ce4d7162f700f1 (diff) |
don't let git-annex direct be run in a v6 repo
Diffstat (limited to 'doc')
-rw-r--r-- | doc/direct_mode.mdwn | 7 | ||||
-rw-r--r-- | doc/git-annex-direct.mdwn | 6 | ||||
-rw-r--r-- | doc/git-annex-indirect.mdwn | 5 | ||||
-rw-r--r-- | doc/todo/smudge.mdwn | 2 |
4 files changed, 15 insertions, 5 deletions
diff --git a/doc/direct_mode.mdwn b/doc/direct_mode.mdwn index 4c2cb2dd7..d3e1067f9 100644 --- a/doc/direct_mode.mdwn +++ b/doc/direct_mode.mdwn @@ -9,6 +9,13 @@ understand how to update its working tree. [[!toc]] +## deprecated + +Direct mode is deprecated! Intead, git-annex v6 repositories can simply +have files that are unlocked and thus can be directly accessed and +modified. See [[upgrades]] for details about the transition to v6 +repositories. + ## enabling (and disabling) direct mode Normally, git-annex repositories start off in indirect mode. With some diff --git a/doc/git-annex-direct.mdwn b/doc/git-annex-direct.mdwn index 457ae3116..3cade1a8c 100644 --- a/doc/git-annex-direct.mdwn +++ b/doc/git-annex-direct.mdwn @@ -17,12 +17,18 @@ Note that git commands that operate on the work tree will refuse to run in direct mode repositories. Use `git annex proxy` to safely run such commands. +Note that the direct mode/indirect mode distinction is removed in v6 +git-annex repositories. In such a repository, you can +use [[git-annex-unlock]](1) to make a file's content be directly present. + # SEE ALSO [[git-annex]](1) [[git-annex-indirect]](1) +[[git-annex-unlock]](1) + # AUTHOR Joey Hess <id@joeyh.name> diff --git a/doc/git-annex-indirect.mdwn b/doc/git-annex-indirect.mdwn index 99def6144..321e0fb36 100644 --- a/doc/git-annex-indirect.mdwn +++ b/doc/git-annex-indirect.mdwn @@ -11,9 +11,8 @@ git annex indirect Switches a repository back from direct mode to the default, indirect mode. -Some systems cannot support git-annex in indirect mode, because they -do not support symbolic links. Repositories on such systems instead -default to using direct mode. +Note that the direct mode/indirect mode distinction is removed in v6 +git-annex repositories. # SEE ALSO diff --git a/doc/todo/smudge.mdwn b/doc/todo/smudge.mdwn index 6e6af6f65..7a232123a 100644 --- a/doc/todo/smudge.mdwn +++ b/doc/todo/smudge.mdwn @@ -306,8 +306,6 @@ just look at the repo content in the first place.. annex.version changes to 6 -Upgrade should be handled automatically. - On upgrade, update $GIT_DIR/info/attributes with a stock configuration, unless it already mentions "filter=annex". |