Re: pgsql: pg_regress: Don't use absolute paths for the diff

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: pgsql: pg_regress: Don't use absolute paths for the diff
Дата
Msg-id CAH2-Wz=ZaVxsQSiUJYULckMZcRdbAnP61EF=bkTK=KZMc4bBwg@mail.gmail.com
обсуждение исходный текст
Ответ на pgsql: pg_regress: Don't use absolute paths for the diff  (Peter Eisentraut <peter@eisentraut.org>)
Ответы Re: pgsql: pg_regress: Don't use absolute paths for the diff
Список pgsql-committers
On Thu, Feb 21, 2019 at 10:01 AM Peter Eisentraut <peter@eisentraut.org> wrote:
> pg_regress: Don't use absolute paths for the diff
>
> Don't expand inputfile and outputfile to absolute paths globally, just
> where needed.  In particular, pass them as is to the file name
> arguments of the diff command, so that we don't see the full absolute
> path in the diff header, which makes the diff unnecessarily verbose
> and harder to read.

This broke some of my tooling for quickly reconciling expected and
actual test outputs from my text editor.

I don't think that this was a great idea.

-- 
Peter Geoghegan


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