already implemented
authorJoey Hess <joeyh@joeyh.name>
Wed, 12 May 2021 16:24:55 +0000 (12:24 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 12 May 2021 16:24:55 +0000 (12:24 -0400)
doc/todo/support_tree-ish_in_command_args.mdwn
doc/todo/support_tree-ish_in_command_args/comment_1_03ceaa0269535fad683b2567d1169ff1._comment [new file with mode: 0644]

index 83d033e13e8e9dcc5319cdffdd3578b5071e8448..a89afabc9a06e2e0b0fed9b41f0588838704cfdb 100644 (file)
@@ -1 +1,3 @@
 For commands like [[`git-annex-whereis`|git-annex-whereis]] that take a `path` argument, it would help if this could be generalized to taking a [tree-ish](https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddeftree-ishatree-ishalsotreeish).  E.g. for `git-annex-whereis` this could be used to look up where previous file versions are stored.
+
+> [[done]] before this was filed
diff --git a/doc/todo/support_tree-ish_in_command_args/comment_1_03ceaa0269535fad683b2567d1169ff1._comment b/doc/todo/support_tree-ish_in_command_args/comment_1_03ceaa0269535fad683b2567d1169ff1._comment
new file mode 100644 (file)
index 0000000..ab81a0e
--- /dev/null
@@ -0,0 +1,8 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2021-05-12T16:23:02Z"
+ content="""
+This is already supported by whereis (and quite a lot of other commands) 
+with the --branch option, which is documented to support a treeish.
+"""]]