Re: [PATCH 1/3] strbuf: make stripspace() part of strbuf

2015-10-16 Thread Tobias Klauser
On 2015-10-15 at 18:42:23 +0200, Matthieu Moy wrote: > Tobias Klauser writes: > > > Also switch all current users of stripspace() to the new function name > > and keep a temporary wrapper inline function for topic branches still > > using stripspace(). > > Since you have this temporary wrappe

Re: [PATCH 1/3] strbuf: make stripspace() part of strbuf

2015-10-16 Thread Tobias Klauser
Thanks for the review. On 2015-10-15 at 19:36:17 +0200, Junio C Hamano wrote: > Tobias Klauser writes: > > > Rename stripspace() to strbuf_stripspace() and move it to the strbuf > > module as suggested in [1]. > > > > Also switch all current users of stripspace() to the new function name > > an

Re: [PATCH 1/3] strbuf: make stripspace() part of strbuf

2015-10-15 Thread Junio C Hamano
Tobias Klauser writes: > Rename stripspace() to strbuf_stripspace() and move it to the strbuf > module as suggested in [1]. > > Also switch all current users of stripspace() to the new function name > and keep a temporary wrapper inline function for topic branches still > using stripspace(). > >

Re: [PATCH 1/3] strbuf: make stripspace() part of strbuf

2015-10-15 Thread Matthieu Moy
Tobias Klauser writes: > [1] > https://git.wiki.kernel.org/index.php/SmallProjectsIdeas#make_.27stripspace.28.29.27_part_of_strbuf I don't think we want such references in the commit message. It does make sense in a "below ---" comment, but commit messages are here to stay forever, while the Sm

Re: [PATCH 1/3] strbuf: make stripspace() part of strbuf

2015-10-15 Thread Matthieu Moy
Tobias Klauser writes: > Also switch all current users of stripspace() to the new function name > and keep a temporary wrapper inline function for topic branches still > using stripspace(). Since you have this temporary wrapper, it would have made sense to split the patch into 1) move and renam

[PATCH 1/3] strbuf: make stripspace() part of strbuf

2015-10-15 Thread Tobias Klauser
Rename stripspace() to strbuf_stripspace() and move it to the strbuf module as suggested in [1]. Also switch all current users of stripspace() to the new function name and keep a temporary wrapper inline function for topic branches still using stripspace(). [1] https://git.wiki.kernel.org/index