add todo based on forum post
authorJoey Hess <joeyh@joeyh.name>
Mon, 13 Jun 2022 17:12:18 +0000 (13:12 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 13 Jun 2022 17:12:18 +0000 (13:12 -0400)
doc/forum/git-annex-addunused_with_original_path+filename/comment_1_b24b20d6351d0373f9517438c33f05c1._comment [new file with mode: 0644]
doc/todo/git-annex-addunused-historical.mdwn [new file with mode: 0644]

diff --git a/doc/forum/git-annex-addunused_with_original_path+filename/comment_1_b24b20d6351d0373f9517438c33f05c1._comment b/doc/forum/git-annex-addunused_with_original_path+filename/comment_1_b24b20d6351d0373f9517438c33f05c1._comment
new file mode 100644 (file)
index 0000000..7fce7dc
--- /dev/null
@@ -0,0 +1,12 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2022-06-13T17:06:21Z"
+ content="""
+There is not currently an easy way to do that. Although I suppose you could
+write a script to rename the files based on the filenames whereused
+outputs.
+
+I do think this would be a good enhancement. I've made a todo
+[[todo/git-annex-addunused-historical]].
+"""]]
diff --git a/doc/todo/git-annex-addunused-historical.mdwn b/doc/todo/git-annex-addunused-historical.mdwn
new file mode 100644 (file)
index 0000000..17e66c2
--- /dev/null
@@ -0,0 +1,7 @@
+`git-annex addunused` could have a --historical option that adds back to
+the last-seen filename, like whereused does.
+
+Something would need to be done to handle the case where several unused
+keys use the same filename, or a file by that name already exists. Probably
+the simplest thing would be to add the key to the end of the filename.
+--[[Joey]]