Merge remote-tracking branch 'branchable/master'

This commit is contained in:
Joey Hess 2011-05-14 12:29:10 -04:00
commit bbab57ebe7
3 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,14 @@
[[!comment format=mdwn
username="http://joey.kitenet.net/"
nickname="joey"
subject="comment 3"
date="2011-05-14T16:28:36Z"
content="""
To re-inject new content for a file, you really want to get a new key for the file. Otherwise, other repos that have the old file will never get the new content. So:
<pre>
git rm file
mv ~/newcontent file
git annex add file
</pre>
"""]]

View file

@ -0,0 +1,13 @@
[[!comment format=mdwn
username="http://christian.amsuess.com/chrysn"
nickname="chrysn"
subject="format, respect working directory"
date="2011-04-26T12:31:02Z"
content="""
we could include the information about the current directory as well, if the command is not issued in the local git root directory. to avoid large numbers of similar lines, that could look like this:
Estimated annex size: B MiB (of C MiB; [B/C]%)
Estimated annex size in $PWD: B' MiB (of C' MiB; [B'/C']%)
with the percentages being replaced with \"complete\" if really all files are present (and not just many enough for the value to be rounded to 100%).
"""]]

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="http://joey.kitenet.net/"
nickname="joey"
subject="comment 4"
date="2011-05-14T16:13:58Z"
content="""
Hmm. Old versions may have forgotten to git add a .git-annex location log file when recovering content with fsck. That could be another reason things are out of sync.
But I'm not clear on which repo is trying to copy files to which.
(NB: If the files were recovered on a bare git repo, fsck cannot update the location log there, which could also explain this.)
"""]]