merge, pull: add '--(no-)log' command line option

These are the command line option equivalents of the 'merge.log' config
variable.

The patch also updates documentation and bash completion accordingly, and
adds a test.

Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
SZEDER Gábor
2008-04-06 03:23:46 +02:00
committed by Junio C Hamano
parent 6cd9cfefc5
commit efb779f887
5 changed files with 36 additions and 7 deletions

View File

@ -779,7 +779,7 @@ _git_merge ()
;;
--*)
__gitcomp "
--no-commit --no-stat --squash --strategy
--no-commit --no-stat --log --no-log --squash --strategy
"
return
esac