Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
caa83ef263
4 changed files with 35 additions and 5 deletions
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="http://joeyh.name/"
|
||||
ip="2001:4978:f:21a::2"
|
||||
subject="comment 3"
|
||||
date="2012-10-28T23:29:46Z"
|
||||
content="""
|
||||
numcopies=0 is inherently unsafe, and unreasonable if you value your data at all. I've added some warnings about it to the man page.
|
||||
"""]]
|
|
@ -0,0 +1,15 @@
|
|||
[[!comment format=mdwn
|
||||
username="https://www.google.com/accounts/o8/id?id=AItOawlgyVag95OnpvSzQofjyX0WjW__MOMKsl0"
|
||||
nickname="Sehr"
|
||||
subject="comment 4"
|
||||
date="2012-10-29T00:00:33Z"
|
||||
content="""
|
||||
Thanks, that's cool. Admittedly, I cannot think of too many scenarios, where there are two identical files without the user's knowloedge. And an even smaller subset of scenarios, where one would want to issue a \"drop\" on (only) one of these due to storage shortages.
|
||||
|
||||
|
||||
|
||||
By the way, I LOVE git-annex.
|
||||
|
||||
|
||||
PS: I just realized, that the same applies to the \"move\" command.
|
||||
"""]]
|
|
@ -0,0 +1,9 @@
|
|||
[[!comment format=mdwn
|
||||
username="http://joeyh.name/"
|
||||
ip="2001:4978:f:21a::2"
|
||||
subject="comment 5"
|
||||
date="2012-10-29T00:03:40Z"
|
||||
content="""
|
||||
You're guaranteed to still have at least 1 copy of the file after move though, so you can get it back.
|
||||
|
||||
"""]]
|
|
@ -6,8 +6,8 @@
|
|||
content="""
|
||||
Sometimes links to annexed data still exists on some branch, when it was supposed to be dropped. Here is how I found these; perhaps there is a simpler way.
|
||||
|
||||
% git annex find --format '${key}\n' > /tmp/known-keys
|
||||
% find .git/annex/objects -type f -exec basename {} \; > /tmp/local-keys
|
||||
% git annex find --format '${key}\n' | sort > /tmp/known-keys
|
||||
% find .git/annex/objects -type f -exec basename {} \; | sort > /tmp/local-keys
|
||||
% comm -23 /tmp/local-keys /tmp/known-keys
|
||||
|
||||
to look for what branch these are on, try
|
||||
|
@ -17,8 +17,6 @@ to look for what branch these are on, try
|
|||
for one of the keys output above. In my case it was the same remote branch keeping them all alive.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
*EDIT* sort key lists to make comm work properly
|
||||
|
||||
"""]]
|
||||
|
|
Loading…
Reference in a new issue