From: Nguyen Thai Ngoc Duy Date: Tue, 25 Mar 2008 15:39:38 GMT Subject: Re: [PATCH] shortlog: initialize nongit variable Message-ID: In-Reply-To: <1206456377-2735-1-git-send-email-szeder@ira.uka.de> On Tue, Mar 25, 2008 at 9:46 PM, SZEDER Gábor wrote: > setup_git_directory_gently() only modifies the value of the nongit > variable if we are not in a git repository, therefore nongit is left > uninitialized if we are in a git repository. This sometimes broke > shortlog when it was not fed with a log on its standard input. cmd_help() has the same problem. Can you make a similar patch for cmd_help as well? Thanks -- Duy