# diff --minimal versus --diff-algorithm=minimal

1 messages from 2015-11-25 to 2015-11-25. Participants: Дилян Палаузов.
Thread: https://gitlist.dev/t/40887

## Дилян Палаузов, 2015-11-25 18:21

Subject: diff --minimal versus --diff-algorithm=minimal
Message-ID: <5655FC3E.7090705@aegee.org>
URL: https://gitlist.dev/e/5655FC3E.7090705%40aegee.org

```
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
   Дилян

```
