Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] diff-tree: do not show the sha1 of the given head with --quiet

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:05:52

Sebastian Schuberth [off-list ref] writes:
Well, from a user's perspective it does not matter which part of the
internal implementation of diff-tree is responsible for printing that
single line,...
That is not "internal implementation", but "logically separate
parts".  View it more like "'git show -s' does squelch the diff part
but does not squelch the log output".  After all, a single commit form
of 'diff-tree' is a degenerate use case of feeding a single commit
to 'diff-tree --stdin' from its standard input, which is a rough
plumbing-level equivalent of 'show'.

Documenting the behaviour correctly is the best thing you could do
at this point, as this is one of the oldest part of the system that
existing scripts would rely on.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help