author | Junio C Hamano <gitster@pobox.com> | |
Wed, 6 Aug 2008 05:32:28 +0000 (22:32 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 6 Aug 2008 06:30:11 +0000 (23:30 -0700) | ||
commit | eabbc99a2198d1cae62ce951457e7edc23b5f1a9 | |
tree | 89bc12f3633cce79eef6177fa5e027153a5ca908 | tree | snapshot |
parent | 2d0f5f3459278475602394a7165bf8919412f4e4 | commit | diff |
fix diff-tree --stdin documentation
Long time ago, the feature of "diff-tree --stdin" to take a commit and its
parents on one line was broken, and did not support the common:
git rev-list --parents $commits... -- $paths... |
git diff-tree --stdin -v -p
usage pattern by Porcelains properly. For diff-tree to talk sensibly
about commits, it needs to see commits, not just trees; the code was fixed
to take list of commits on the standard input in 1.2.0.
However we left the documentation stale for a long time, until Karl
Hasselström finally noticed it very recently.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Long time ago, the feature of "diff-tree --stdin" to take a commit and its
parents on one line was broken, and did not support the common:
git rev-list --parents $commits... -- $paths... |
git diff-tree --stdin -v -p
usage pattern by Porcelains properly. For diff-tree to talk sensibly
about commits, it needs to see commits, not just trees; the code was fixed
to take list of commits on the standard input in 1.2.0.
However we left the documentation stale for a long time, until Karl
Hasselström finally noticed it very recently.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-diff-tree.txt | diff | blob | history |