Re: [PATCH v2 1/4] diff.c: return pattern entry pointer rather than just the hunk header pattern

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Brandon Casey
Date: Friday, September 19, 2008 - 12:11 pm

Boyd Lynn Gerber wrote:

Test t4018-diff-funcname.sh should pass. As Johan mentioned, in the
last patch '\\s' should have been converted to '[ \t]', rather than
to just ' ', but that should not affect the test and should only
affect html, python, and ruby patterns.

It would be nice if the tests were expanded.


I expect they will be in Junio's tree soon, most likely the master
branch.


"\t" is safe to use since it is interpreted by git in config.c: parse_value(),
not by the regex library. I was also concerned about that character until I
traced the code to parse_value(). Junio is right that better documentation of
this feature is needed.

-brandon

--
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:
Re: [PATCH v2 1/4] diff.c: return pattern entry pointer ra ..., Boyd Lynn Gerber, (Fri Sep 19, 11:14 am)
Re: [PATCH v2 1/4] diff.c: return pattern entry pointer ra ..., Brandon Casey, (Fri Sep 19, 12:11 pm)