diff options
author | Joey Hess <joey@kitenet.net> | 2012-10-17 22:05:11 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-10-17 22:05:11 -0400 |
commit | 15d85d180b7469c164454affca00c980f1e6b5f3 (patch) | |
tree | 926596b01b7f9775d2e97a9c69e69f913bda65d1 /doc/walkthrough/unused_data/comment_1_684b7b652d3a8ec04f32129c5528f1ab._comment | |
parent | ba48296365531e4d371cd9a4b65c0e748105d4ee (diff) | |
parent | 593517346e5f052f7a411714ef6fe5c069aed868 (diff) |
Merge branch 'master' of ssh://git-annex.branchable.com
Diffstat (limited to 'doc/walkthrough/unused_data/comment_1_684b7b652d3a8ec04f32129c5528f1ab._comment')
-rw-r--r-- | doc/walkthrough/unused_data/comment_1_684b7b652d3a8ec04f32129c5528f1ab._comment | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/walkthrough/unused_data/comment_1_684b7b652d3a8ec04f32129c5528f1ab._comment b/doc/walkthrough/unused_data/comment_1_684b7b652d3a8ec04f32129c5528f1ab._comment new file mode 100644 index 000000000..cb2324703 --- /dev/null +++ b/doc/walkthrough/unused_data/comment_1_684b7b652d3a8ec04f32129c5528f1ab._comment @@ -0,0 +1,24 @@ +[[!comment format=mdwn + username="bremner" + ip="156.34.89.108" + subject="finding data that isn't unused, but should be." + date="2012-10-17T20:32:11Z" + 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 + % comm -23 /tmp/local-keys /tmp/known-keys + +to look for what branch these are on, try + + % git log --stat --all -S$key + +for one of the keys output above. In my case it was the same remote branch keeping them all alive. + + + + + + +"""]] |