[PATCH v3 0/3] Rework git-diff algorithm selection

2013-01-15 Thread Michal Privoznik
It's been a while I was trying to get this in. Recently, I realized how important this is. Please keep me CC'ed as I am not subscribed to the list. diff to v1: -Junio's suggestions worked in diff to v2: -yet more Junio's suggestions included Michal Privoznik (3): git-completion.bash

[PATCH v3 1/3] git-completion.bash: Autocomplete --minimal and --histogram for git-diff

2013-01-15 Thread Michal Privoznik
Even though --patience was already there, we missed --minimal and --histogram for some reason. Signed-off-by: Michal Privoznik mpriv...@redhat.com --- contrib/completion/git-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/completion/git-completion.bash

[PATCH v3 3/3] diff: Introduce --diff-algorithm command line option

2013-01-15 Thread Michal Privoznik
`. Signed-off-by: Michal Privoznik mpriv...@redhat.com --- Documentation/diff-options.txt | 21 + contrib/completion/git-completion.bash | 11 +++ diff.c | 12 +++- diff.h | 2 ++ merge

[PATCH v3 2/3] config: Introduce diff.algorithm variable

2013-01-15 Thread Michal Privoznik
, a configuration variable which is able to set specific algorithm is needed. For now, these four values are accepted: 'myers' (which has the same effect as not setting the config variable at all), 'minimal', 'patience' and 'histogram'. Signed-off-by: Michal Privoznik mpriv...@redhat.com

[PATCH v2 1/3] git-completion.bash: Autocomplete --minimal and --histogram for git-diff

2013-01-14 Thread Michal Privoznik
Even though --patience was already there, we missed --minimal and --histogram for some reason. Signed-off-by: Michal Privoznik mpriv...@redhat.com --- contrib/completion/git-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/completion/git-completion.bash

[PATCH v2 2/3] config: Introduce diff.algorithm variable

2013-01-14 Thread Michal Privoznik
, a configuration variable which is able to set specific algorithm is needed. For now, these four values are accepted: 'myers' (which has the same effect as not setting the config variable at all), 'minimal', 'patience' and 'histogram'. Signed-off-by: Michal Privoznik mpriv...@redhat.com

[PATCH v2 3/3] diff: Introduce --diff-algorithm command line option

2013-01-14 Thread Michal Privoznik
`. Signed-off-by: Michal Privoznik mpriv...@redhat.com --- Documentation/diff-options.txt | 23 +++ contrib/completion/git-completion.bash | 11 +++ diff.c | 12 +++- diff.h | 2 ++ merge

[PATCH v2 0/3] Rework git-diff algorithm selection

2013-01-14 Thread Michal Privoznik
It's been a while I was trying to get this in. Recently, I realized how important this is. Please keep me CC'ed as I am not subscribed to the list. diff to v1: -Junio's suggestions worked in Michal Privoznik (3): git-completion.bash: Autocomplete --minimal and --histogram for git-diff

[PATCH 2/3] config: Introduce diff.algorithm variable

2013-01-12 Thread Michal Privoznik
, a configuration variable which is able to set specific algorithm is needed. For now, these four values are accepted: 'myers' (which has the same effect as not setting the config variable at all), 'minimal', 'patience' and 'histogram'. Signed-off-by: Michal Privoznik mpriv...@redhat.com

[PATCH 1/3] git-completion.bash: Autocomplete --minimal and --histogram for git-diff

2013-01-12 Thread Michal Privoznik
Even though --patience was already there, we missed --minimal and --histogram for some reason. Signed-off-by: Michal Privoznik mpriv...@redhat.com --- contrib/completion/git-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/completion/git-completion.bash

[PATCH 0/3] Rework git-diff algorithm selection

2013-01-12 Thread Michal Privoznik
It's been a while I was trying to get this in. Recently, I realized how important this is. Please keep me CC'ed as I am not subscribed to the list. Michal Privoznik (3): git-completion.bash: Autocomplete --minimal and --histogram for git-diff config: Introduce diff.algorithm variable