From 232d372ab84251ebb751e1042a867cdf546f636c Mon Sep 17 00:00:00 2001 From: atrent Date: Mon, 16 Nov 2015 09:06:34 +0000 Subject: [PATCH] Added a comment --- ...ment_3_02cb9efd54d8447d0bd11e5981e7dca7._comment | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/tips/recover_data_from_lost+found/comment_3_02cb9efd54d8447d0bd11e5981e7dca7._comment diff --git a/doc/tips/recover_data_from_lost+found/comment_3_02cb9efd54d8447d0bd11e5981e7dca7._comment b/doc/tips/recover_data_from_lost+found/comment_3_02cb9efd54d8447d0bd11e5981e7dca7._comment new file mode 100644 index 0000000000..7121f380ca --- /dev/null +++ b/doc/tips/recover_data_from_lost+found/comment_3_02cb9efd54d8447d0bd11e5981e7dca7._comment @@ -0,0 +1,13 @@ +[[!comment format=mdwn + username="atrent" + subject="comment 3" + date="2015-11-16T09:06:34Z" + content=""" +This procedure is also very useful when you accidentally rename files in the object dir. + +Such a case occurred to me when I 'detoxed' a git-annex: detox renames files and it substitutes \"--\" with \"-\", thus destroying my annex. + +I find git-annex very elegant in this situation: rather than trying to rename back the files (objects) you just re-add them (since content is still there unmodified) recreating the symlink targets! + +Kudos! +"""]]