Re: pygi's style
- From: Tomeu Vizoso <tomeu tomeuvizoso net>
- To: Steve Frécinaux <code istique net>
- Cc: python-hackers-list <python-hackers-list gnome org>
- Subject: Re: pygi's style
- Date: Wed, 26 May 2010 11:09:54 +0200
On Tue, May 25, 2010 at 23:12, Steve Frécinaux <code istique net> wrote:
>> git help blame
>> -w
>> Ignore whitespace when comparing the parent's version and the
>> child's to find where the lines came from.
>
> Please note that indent not only changes whitespace but can also add line
> ends from place to place.
>
> Maybe we'd be better off just doing a sed -e 's/\t/ /g' -e 's/\s*$//'
> instead if the parens and bracket usage is already consistent in the code.
The problem is that little is consistent in the code. The good news is
that we have been following mostly two styles.
I will see about first applying white space fixes that don't hurt git
blame -w, then the changes that do affect it.
If we get to a consistent state, we can add the git hook and forget
about all this.
Regards,
Tomeu
> _______________________________________________
> python-hackers-list mailing list
> python-hackers-list gnome org
> http://mail.gnome.org/mailman/listinfo/python-hackers-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]