diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-03-04 16:08:41 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-03-04 16:08:41 -0400 |
commit | 2c911300c50040f17d314c5c0891c82ecab4bb88 (patch) | |
tree | 4a50dc665f1b9c37cc9ea364752b85c7953298aa /doc | |
parent | 179af68964152d182caeea9fd6c75858e4cfd2af (diff) |
fixup annex link target calculation when submodules are used in filesystems not supporting symlinks
Diffstat (limited to 'doc')
-rw-r--r-- | doc/submodules.mdwn | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/submodules.mdwn b/doc/submodules.mdwn index fe5fc9a9e..74668085d 100644 --- a/doc/submodules.mdwn +++ b/doc/submodules.mdwn @@ -5,7 +5,9 @@ Git normally makes a `.git` **file** in a submodule, that points to the real git repository under `.git/modules/`. This presents problems for git-annex. So, when used in a submodule, git-annex will automatically replace the `.git` file with a symlink -pointing at the git repository. +pointing at the git repository. (When the filesystem doesn't support +symlinks, direct mode is used, and submodules are supported in that +setup too.) With that taken care of, git-annex should work ok in submodules. Although this is a new and somewhat experimental feature. @@ -18,4 +20,3 @@ Known problems: will refuse to delete it, complaining that the submodule "uses a .git directory". Workaround: Use `rm -rf` to delete the tree, and then `git commit`. -* This won't work on filesystems not supporting symlinks. |