From: Junio C Hamano <gitster@pobox.com>
To: Bruce Momjian <bruce@momjian.us>
Cc: git@vger.kernel.org
Subject: Re: "git show" does not use diff.external like "git diff" does
Date: Tue, 28 Dec 2010 09:52:45 -0800 [thread overview]
Message-ID: <7v39phyec2.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <201012281510.oBSFAMm14943@momjian.us> (Bruce Momjian's message of "Tue\, 28 Dec 2010 10\:10\:22 -0500 \(EST\)")
Bruce Momjian <bruce@momjian.us> writes:
> I have diff.external configured properly, and it is used by "git diff",
> but "git show" does not call the script and only returns unified diffs.
>
> Is there a way to make "git show" use an external diff script?
"git show --ext-diff"?
We end the Description section of the manual with "This manual page
describes only the most frequently used options." without explicitly
saying "Options from the underlying this and that commands can be given as
well", which is rather suboptimal.
The only existing hint there is one sentence before, "The command takes
options applicable to the git diff-tree command...", but the reader needs
to be both careful and vaguely familiar with the way the git command set
is structured to take advantage of that hint.
next prev parent reply other threads:[~2010-12-28 17:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-28 15:10 "git show" does not use diff.external like "git diff" does Bruce Momjian
2010-12-28 17:52 ` Junio C Hamano [this message]
2010-12-28 17:54 ` Bruce Momjian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7v39phyec2.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=bruce@momjian.us \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).