git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Дилян Палаузов" <dilyan.palauzov@aegee.org>
To: git@vger.kernel.org
Subject: diff --minimal versus --diff-algorithm=minimal
Date: Wed, 25 Nov 2015 19:21:50 +0100	[thread overview]
Message-ID: <5655FC3E.7090705@aegee.org> (raw)

Hello,

after I put in ~/.config/git "[diff] algorithm=histogram", and called 
"git diff --minimal" I expect from git to use algorithm=minimal.  But it 
uses histogram, unless I call "--diff-algorithm=minimal".  According to 
the documentation, however, --minimal and --diff-algorithm=minimal shall 
be equivalent.

By the way, histogram produces more compact output than minimal (in 
terms of number of lines and in terms of @@ ... @@ snippets), but the 
documentation suggests, that minimal produces the most compact form that 
can be achieved.

I use git version 2.6.3.385.g1bc8fea.

Greetings
   Дилян

                 reply	other threads:[~2015-11-25 18:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5655FC3E.7090705@aegee.org \
    --to=dilyan.palauzov@aegee.org \
    --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).