git-annex/doc/direct_mode.mdwn
Joey Hess 20741b1eb4
Automatically convert direct mode repositories to v7 with adjusted unlocked branches
* Automatically convert direct mode repositories to v7 with adjusted
  unlocked branches and set annex.thin.
* init: When run on a crippled filesystem with --version=5,
  will error out, since version 7 is needed for adjusted unlocked branch.
* direct: This command always errors out as direct mode is no longer
  supported.
* indirect: This command has become a deprecated noop.
* proxy: This command is deprecated because it was only needed in direct
  mode. (But it continues to work.)

Also removed mentions of direct mode throughough the documentation.

I have not removed all the direct mode code yet.
2019-08-26 15:05:25 -04:00

14 lines
763 B
Markdown

Normally, git-annex repositories consist of symlinks that are checked into
git, and in turn point at the content of large files that is stored in
`.git/annex/objects/`. Direct mode was a hack to avoid the symlinks.
The advantage of direct mode was that you can access files directly,
including modifying them. The disadvantage was that many regular git
commands could not used in a direct mode repository, since they don't
understand how to update its working tree.
Direct mode has been removed from git-annex as of version 7.20190826.
The first time a new git-annex is run in a direct mode repository,
it automatically converts it to a v7 repository with
[[unlocked|tips/unlocked files]]. See [[upgrades]] for details
about the transition to v7 repositories.