Junio C Hamano [off-list ref] writes:
Petr Baudis [off-list ref] writes:
quoted
I think that ls-tree simply shouldn't auto-fill its pathspec based on
current prefix in case no pathspec was supplied. Patch to follow.
Have you dug the list archive from mid-to-late December 2005 that prompted
the current behaviour (and introduction of --full-name)? I haven't.
Now, I did:
http://thread.gmane.org/gmane.comp.version-control.git/13028/focus=13135
I think the answer is --full-name (cf. a69dd58 (ls-tree: chomp leading
directories when run from a subdirectory, 2005-12-23)).