Csaba Henk [off-list ref] wrote:
On 2007-06-05, Martin Waitz [off-list ref] wrote:
quoted
like git ls-tree -r?
Yes. I knew this functionality must be there somewehere...
If you use this from a script note that ls-tree shows the subdirectory
of a tree that corresponds to the current directory in the repository.
This one should always show the full tree:
$ git ls-tree --full-name -r HEAD $(git rev-parse --show-cdup)