summaryrefslogtreecommitdiff
path: root/doc/todo/hidden_files.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-02-22 14:44:17 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-02-22 14:44:17 -0400
commit1f44ccb7026e0ef033f9415130f62d35604590d7 (patch)
treedefe5e1b14e2ce31932361a59873921501b61765 /doc/todo/hidden_files.mdwn
parent7b586f08332412676921c98f0c383e1c341be8f7 (diff)
add
Diffstat (limited to 'doc/todo/hidden_files.mdwn')
-rw-r--r--doc/todo/hidden_files.mdwn20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/todo/hidden_files.mdwn b/doc/todo/hidden_files.mdwn
new file mode 100644
index 000000000..2e5ec4d9e
--- /dev/null
+++ b/doc/todo/hidden_files.mdwn
@@ -0,0 +1,20 @@
+Add a `git annex hide $file` that behaves like drop, checking counter info
+and updating location log to say the current repo no longer has a file --
+but does not actually remove the content.
+
+Then `git annex unused` can be used to clean it up later. And in the
+meantime, it's still locally accessible. This can be useful if you're
+planning to need to free up space later, but want to hold onto the content
+for a while. Possibly you'll be disconnected later, so it's easier to push
+out that intent now.
+
+--
+
+TODO:
+
+* Make 100% sure this is safe. Drop, etc should never check content files
+ are present on other repos if the location log doesn't say the repo
+ has the content.
+
+* What will `git annex get` do if it's asked to get a file that has been
+ hidden?