summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-01-20 14:56:09 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-01-20 14:56:09 -0400
commit5b44f2be9ef49f7ddba2575bc5150187a2d5c3b3 (patch)
tree406bba5ce30088d22f3b349cf72ec6c39beb747a /doc
parent54229acf2d42a6467b92ad38d0729b268f666be7 (diff)
comment
Diffstat (limited to 'doc')
-rw-r--r--doc/tips/unlocked_files/comment_4_a8139747da8cbb2510b3647ba448d72d._comment20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/tips/unlocked_files/comment_4_a8139747da8cbb2510b3647ba448d72d._comment b/doc/tips/unlocked_files/comment_4_a8139747da8cbb2510b3647ba448d72d._comment
new file mode 100644
index 000000000..2261ccdfb
--- /dev/null
+++ b/doc/tips/unlocked_files/comment_4_a8139747da8cbb2510b3647ba448d72d._comment
@@ -0,0 +1,20 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 4"""
+ date="2016-01-20T18:49:07Z"
+ content="""
+@wsha.code, if you opt to use annex.thin, then commit a file, and then
+edit the same file again and commit again, the older commit will be in
+git's history, but if you check it out, the old content of the file won't
+be available. This is very similar to what happens when not using annex.thin,
+but later running git-annex unused and dropping the "unused" intermediate
+version of the file.
+
+Running `git annex sync --content` or just `git annex copy --to remote`
+will get the thin version of the file saved on a remote, and then editing
+it won't lose the content. But note that if you edited a file while it was
+being copied off to the remote, the previous version would still get lost.
+
+If these seem like troublesome behaviors, well that's why annex.thin is not
+enabled by default.
+"""]]