summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-08-28 13:26:30 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-08-28 13:26:30 -0400
commit1568ff142fa1fbb88797f06372c759aa5e3db160 (patch)
tree50e6a4c8fff6ede4825b647182c539ba75cf9332
parent833fe5154e0c98749ebe76bd1d4d9f88e994f4f5 (diff)
response
-rw-r--r--doc/forum/huge_text_files___40__not_binary__41___-_compress/comment_1_bd0925e056c275c52b59f947e23afe86._comment19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/forum/huge_text_files___40__not_binary__41___-_compress/comment_1_bd0925e056c275c52b59f947e23afe86._comment b/doc/forum/huge_text_files___40__not_binary__41___-_compress/comment_1_bd0925e056c275c52b59f947e23afe86._comment
new file mode 100644
index 000000000..81288307d
--- /dev/null
+++ b/doc/forum/huge_text_files___40__not_binary__41___-_compress/comment_1_bd0925e056c275c52b59f947e23afe86._comment
@@ -0,0 +1,19 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2017-08-28T17:21:54Z"
+ content="""
+The difficulty with compressing annexed files is that they have to
+be available on disk in uncompressed form in order for the work tree to
+point to the content of the files. Notice that, even though git does
+compress .git/objects, the checked-out files in the working tree are not
+themselves compressed.
+
+git-annex does support compressing files that are stored on special
+remotes. Simply enabling encryption when initializing a special remote
+will also compress the data stored in it. A couple of special remotes like
+bup also compress content natively.
+
+Using a filesystem that supports compression is the only way I know of to
+transparently compress files located in the working tree.
+"""]]