Re: [PATCH 1/2] Make section_name_match start on '[', and return the length on success

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Schindelin
Date: Saturday, July 25, 2009 - 7:09 am

Hi,

On Fri, 24 Jul 2009, Alex Vandiver wrote:


Is this not unnecessary, given that we  only call that function when we 
know that buf[0] == '[':


I was a bit surprised that "offset" is not used further in your patch, but 
I saw that 2/2 uses it.

So except for the unnecessary test, I like your patches (read: ACK).

Ciao,
Dscho

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[No subject], Nanako Shiraishi, (Fri Jul 24, 5:28 pm)
Re: [PATCH 1/2] Make section_name_match start on '[', and ..., Johannes Schindelin, (Sat Jul 25, 7:09 am)
Re: [PATCH 2/2] After renaming a section, print any traili ..., Johannes Schindelin, (Sat Jul 25, 7:10 am)
Re: [PATCH 1/2] Make section_name_match start on '[', and ..., Johannes Schindelin, (Sat Jul 25, 10:41 am)
Re: [PATCH] Make git config fail on variables with no sect ..., Johannes Schindelin, (Sun Jul 26, 9:49 am)