For commands like git-annex-whereis that take a path argument, it would help if this could be generalized to taking a tree-ish. E.g. for git-annex-whereis this could be used to look up where previous file versions are stored.

done before this was filed