Re: [PATCH v3] merge-recursive: check GIT_MERGE_VERBOSITY only once

2017-10-27 Thread Stefan Beller
On Wed, Oct 25, 2017 at 6:03 AM, Andrey Okoshkin wrote: > Get 'GIT_MERGE_VERBOSITY' environment variable only once in > init_merge_options() and store the pointer to its value for the further check. > No intervening calls to getenv(), putenv(), setenv() or unsetenv() are

Re: [PATCH v3] merge-recursive: check GIT_MERGE_VERBOSITY only once

2017-10-25 Thread Andrey Okoshkin
Get 'GIT_MERGE_VERBOSITY' environment variable only once in init_merge_options() and store the pointer to its value for the further check. No intervening calls to getenv(), putenv(), setenv() or unsetenv() are done between the initial getenv() call and the consequential result pass to strtol() as