]> git.ipfire.org Git - thirdparty/git.git/commit - merge-recursive.c
merge-recursive: check GIT_MERGE_VERBOSITY only once
authorAndrey Okoshkin <a.okoshkin@samsung.com>
Tue, 31 Oct 2017 09:09:13 +0000 (12:09 +0300)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Nov 2017 01:11:56 +0000 (10:11 +0900)
commit804862209bcbc29f2e7850ecf29f17c1c1aaae6e
tree45d4148b8a79bdaf458779035feb8ae1a934b2f2
parent42e6fde5c28150206956ea4be490d886c4ecbd68
merge-recursive: check GIT_MERGE_VERBOSITY only once

Get rid of the duplicated getenv('GIT_MERGE_VERBOSITY') calls with the same
constant string argument. This makes code more readable and prevents typo in
the further development.

Signed-off-by: Andrey Okoshkin <a.okoshkin@samsung.com>
Reviewed-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-recursive.c