summaryrefslogtreecommitdiff
path: root/doc/walkthrough/unused_data
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@unb.ca>2012-10-28 20:32:25 -0300
committerGravatar David Bremner <bremner@unb.ca>2012-10-28 20:33:00 -0300
commit8a385ec23a26f3ca1f0793b457b22fcff39b8c48 (patch)
treef8336fc87d4c371e107318d84d98b5b14c5e9cf8 /doc/walkthrough/unused_data
parent6f76945378f0063512eb91af3a574b9705b1a70c (diff)
fix example commands in comment
Diffstat (limited to 'doc/walkthrough/unused_data')
-rw-r--r--doc/walkthrough/unused_data/comment_1_684b7b652d3a8ec04f32129c5528f1ab._comment8
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/walkthrough/unused_data/comment_1_684b7b652d3a8ec04f32129c5528f1ab._comment b/doc/walkthrough/unused_data/comment_1_684b7b652d3a8ec04f32129c5528f1ab._comment
index cb2324703..2be2a6463 100644
--- a/doc/walkthrough/unused_data/comment_1_684b7b652d3a8ec04f32129c5528f1ab._comment
+++ b/doc/walkthrough/unused_data/comment_1_684b7b652d3a8ec04f32129c5528f1ab._comment
@@ -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
"""]]