On Tue, Jun 30, 2015 at 5:39 AM, Junio C Hamano wrote:
> Not using any increment inside isspace(), like you showed, is the
> most readable.
Yup, I agree.
Thanks,
Paul
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majo
Eric Sunshine writes:
> On Mon, Jun 29, 2015 at 4:42 PM, Stefan Beller wrote:
>> On Sun, Jun 28, 2015 at 7:06 AM, Paul Tan wrote:
>>> +/**
>>> + * Returns true if `str` consists of only whitespace, false otherwise.
>>> + */
>>> +static int str_isspace(const char *str)
>>> +{
>>> + while (
On Mon, Jun 29, 2015 at 4:42 PM, Stefan Beller wrote:
> On Sun, Jun 28, 2015 at 7:06 AM, Paul Tan wrote:
>> +/**
>> + * Returns true if `str` consists of only whitespace, false otherwise.
>> + */
>> +static int str_isspace(const char *str)
>> +{
>> + while (*str)
>> + if (!iss
On Sun, Jun 28, 2015 at 7:06 AM, Paul Tan wrote:
> Since c574e68 (git-am foreign patch support: StGIT support, 2009-05-27),
> git-am.sh supported converting StGit patches into RFC2822 mail patches
> that can be parsed with git-mailinfo.
>
> Implement this by introducing two functions in builtin/am
Since c574e68 (git-am foreign patch support: StGIT support, 2009-05-27),
git-am.sh supported converting StGit patches into RFC2822 mail patches
that can be parsed with git-mailinfo.
Implement this by introducing two functions in builtin/am.c:
stgit_patch_to_mail() and split_mail_conv().
stgit_pat
5 matches
Mail list logo