Re: [PATCH] shortlog: initialize nongit variable
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Mar 25, 2008, 15:39 UTC
- Message-ID
- <fcaeb9bf0803250839p721e1870l8fbc8715b3c6e7cb@mail.gmail.com>
- 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 <szeder@ira.uka.de> 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