Code

ls-tree documentation: enhance notes on subdirectory and pathspec behaviour
authorJunio C Hamano <gitster@pobox.com>
Mon, 28 Jul 2008 09:33:33 +0000 (02:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Jul 2008 06:01:57 +0000 (23:01 -0700)
commit7ddea13af24d72deca06a779b1827a8ea2d6cfe6
treef650adc427a519e7c14fdbf6286e17116de4808d
parent1b65f38c06e277a13fd7bf77d3d70df604912c08
ls-tree documentation: enhance notes on subdirectory and pathspec behaviour

When run in a working copy subdirectory, git-ls-tree will automagically
add the prefix to the pathspec, which can result in an unexpected behavior
when the tree object accessed is not the root tree object.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-ls-tree.txt