Re: Context diffs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Context diffs
Дата
Msg-id 3165090.1609789336@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Context diffs  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Context diffs  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Our developer FAQ mentions context diffs in several places for their
> improved readability:
>     https://wiki.postgresql.org/wiki/Developer_FAQ

I think that's kind of out of date; AFAIK the majority of hackers
think -u format is more readable.  (For myself, I've gotten better
at reading -u format, but I still find it illegible for complex
changes.  Still, I try to always post patches in -u format to
defer to the majority.)

It is true that some of the tools we use don't work right with
anything except "git diff" output or close equivalents.

            regards, tom lane



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Context diffs
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: Context diffs