From 7500ba7cebed341ec101e62d07e19af9989655d4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 12 May 2021 12:24:55 -0400 Subject: [PATCH] already implemented --- doc/todo/support_tree-ish_in_command_args.mdwn | 2 ++ .../comment_1_03ceaa0269535fad683b2567d1169ff1._comment | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 doc/todo/support_tree-ish_in_command_args/comment_1_03ceaa0269535fad683b2567d1169ff1._comment diff --git a/doc/todo/support_tree-ish_in_command_args.mdwn b/doc/todo/support_tree-ish_in_command_args.mdwn index 83d033e13e..a89afabc9a 100644 --- a/doc/todo/support_tree-ish_in_command_args.mdwn +++ b/doc/todo/support_tree-ish_in_command_args.mdwn @@ -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 index 0000000000..ab81a0e154 --- /dev/null +++ b/doc/todo/support_tree-ish_in_command_args/comment_1_03ceaa0269535fad683b2567d1169ff1._comment @@ -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. +"""]] -- 2.30.2