Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2012-03-20 15:31:19 -04:00
commit d228377722
4 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1 @@
Hi, is there any particular problem with symlinking one .git/annex to share between multiple repos?

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="http://joey.kitenet.net/"
nickname="joey"
subject="don't do that"
date="2012-03-19T18:23:13Z"
content="""
Suppose you do that to repos A and B. Now, in A, you `git annex drop` a file that is only present in those repositories. A checks B to make sure it still has a copy of the file. It sees the (same) file there, so assumes it's safe to drop. The file is removed from A, also removing it from B, and losing data.
It is possible to configure A and B to mutually distrust one-another and avoid this problem, but there will be other problems too.
Instead, git-annex supports using `cp --reflink=auto`, which on filesystems supporting Copy On Write (eg, btrfs), avoids duplicating contents when A and B are on the same filesystem.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawnhsaESlYphzLTzpJy5IxxGFxxctIhWYfo"
nickname="Bryon"
subject="comment 2"
date="2012-03-19T18:46:13Z"
content="""
Ah, OK. Is there a configuration step to set this up, or is this included magic in a new enough git-annex client?
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawnhsaESlYphzLTzpJy5IxxGFxxctIhWYfo"
nickname="Bryon"
subject="comment 3"
date="2012-03-19T18:55:03Z"
content="""
Nevermind, found it. (git-annex 0.08)
"""]]