Re: [PATCH 1/7] Make is_git_command() usable outside builtin-help
- From
Jonathan Nieder <jrnieder@uchicago.edu>
- Date
- Jul 26, 2008, 18:12 UTC
- Message-ID
- <Pine.GSO.4.62.0807261301300.15728@harper.uchicago.edu>
- In-Reply-To
- <f311372167c02868ccf5aa4dc03c97b7f956d855.1217037178.git.vmiklos@frugalware.org>
On Sat, 26 Jul 2008, Miklos Vajna wrote:
> + if (!prefix) > + prefix = "git-"; > + prefix_len = strlen(prefix);
The whitespace gave me a start: the diff markup moved the prefix_len line to the next tab stop, so at first glance it seems there are missing braces here. But it is an illusion. (I mention this so others might avoid wasting time worrying about it.)
I like the patch so far. Thanks for the pleasant reading.