From: Johannes Schindelin Date: Mon, 31 Jul 2006 12:56:25 GMT Subject: Re: [PATCH] pager: config variable pager.program Message-ID: In-Reply-To: Hi, On Mon, 31 Jul 2006, Matthias Lederhofer wrote: > Signed-off-by: Matthias Lederhofer The commit message no longer reflects what the patch does ;-) > - const char *pager = getenv("PAGER"); > + char *pager; You do not need to lose the "const" (it means that you cannot access the memory it points to, but you can change the pointer). Also, you could make a more minimal patch by replacing PAGER by GIT_PAGER here, instead of having this extra line: > + pager = getenv("GIT_PAGER"); Ciao, Dscho