Re: [PATCH 0/9] add strip_suffix as an alternative to ends_with

2014-06-30 Thread Junio C Hamano
On Mon, Jun 30, 2014 at 9:55 AM, Jeff King wrote: > Here's a series to do for ends_with what the recent skip_prefix series > did for starts_with. Namely: drop some magic numbers and repeated string > literals, and hopefully make things more readable. > > The first patch is René's patch 1/2, with t

[PATCH 0/9] add strip_suffix as an alternative to ends_with

2014-06-30 Thread Jeff King
Here's a series to do for ends_with what the recent skip_prefix series did for starts_with. Namely: drop some magic numbers and repeated string literals, and hopefully make things more readable. The first patch is René's patch 1/2, with the leak fix from Duy and typo fixes in the commit message fr