Thread (2 messages) flat view 2 messages, 2 authors, 2016-09-21

Re: v2.10.0: ls-tree exit status is always 0, this differs from ls(1)

From: Junio C Hamano <hidden>
Date: 2016-09-21 16:52:49

Steffen Nurpmeso [off-list ref] writes:
I think this behaviour contradicts the manual which strongly links
ls-tree to ls(1):
Patches to the documentation is very much welcomed.

Somewhere the similarity must end, and actually it ends a lot
earlier, as "/bin/ls" takes exact paths while "ls-tree" (or any
other Git command for that matter) takes a pathspec pattern,
and not having a path that matches the pathspec pattern is not
an error condition.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help