Re: git diff --check whitespace checks, gitattributes

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: git diff --check whitespace checks, gitattributes
Дата
Msg-id 20131106160429.GO5809@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: git diff --check whitespace checks, gitattributes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

> (Actually I tend to pgindent stuff before committing, these
> days, but sometimes that's impractical because somebody's already
> committed some not-well-indented stuff elsewhere in the same file.)

What I normally do is commit the changes, then pgindent, then manually
review the pgindent changes (which are normally tiny because my editor
is configured to produce very similar results to pgindent, as I'm sure
yours is.)  Then I manually revert the parts not in my commit (also
eased by editor support).  Then I squash the commits.

This doesn't take very long.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Ants Aasma
Дата:
Сообщение: Re: better atomics
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pg_fallocate