summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-01-31 12:41:09 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-01-31 12:41:09 -0400
commite861767723b57f9cb9c308f5a06f7f9975980a9b (patch)
tree2d536d728378116d704e7d627544f82263ebfe45 /doc
parente905fa37ee56515b0a03ebf0f73e14d54e47efc6 (diff)
respond
This commit was sponsored by Bruno BEAUFILS on Patreon.
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Adding_the_same_content_under_different_file_names/comment_2_217052fe47822f73ffc765afd6386a7e._comment21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/forum/Adding_the_same_content_under_different_file_names/comment_2_217052fe47822f73ffc765afd6386a7e._comment b/doc/forum/Adding_the_same_content_under_different_file_names/comment_2_217052fe47822f73ffc765afd6386a7e._comment
new file mode 100644
index 000000000..c2fe6e94c
--- /dev/null
+++ b/doc/forum/Adding_the_same_content_under_different_file_names/comment_2_217052fe47822f73ffc765afd6386a7e._comment
@@ -0,0 +1,21 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 2"""
+ date="2017-01-31T16:35:15Z"
+ content="""
+This deduplication is generally considered a feature.
+(If you don't want it, you can eg use the WORM backend.)
+
+The `git annex unused` command can be used in this case. It looks through
+all files (in all branches) in the repo and finds content that no files
+are using, which can then be dropped.
+
+So the question is, if you've been using `git annex drop` before deleting a
+file, how do you know when you need to not do that, and
+instead use `git annex unused` after deleting a file? Well, my suggestion
+is to just never get in the habit of `git annex drop` before deleting a
+file. Reserve using `git annex drop` for times when you are getting low on
+disk space and need to free some up by dropping content from local
+storage; don't try to manually manage which content is stored in the local
+repository as long as you have enough free disk space.
+"""]]