Within the ls-tree documentation for Git found here:
https://git-scm.com/docs/git-ls-tree <https://git-scm.com/docs/git-ls-tree>
It mentions the following:
the behaviour is slightly different from that of "/bin/ls" in that the
<path> denotes just a list of patterns to match, e.g. so specifying
directory name (without |-r|) will behave differently, and order of the
arguments does not matter.
I'm wondering if this statement is accurate. Here is my reasoning:
When using this form of the command:
git ls-tree <tree-ish> [<path>]
the <tree-ish> (assuming this is typically a branch name) must be
specified prior to the path, making the order of the arguments matter
when issuing the command.
If my reasoning is correct I would be glad to submit the changes for
review/merge.
Appreciate any insights.
Kevin Bowersox