Re: Splitting up guc.c

Поиск
Список
Период
Сортировка
От Dagfinn Ilmari Mannsåker
Тема Re: Splitting up guc.c
Дата
Msg-id 87v8psl5d8.fsf@wibble.ilmari.org
обсуждение исходный текст
Ответ на Re: Splitting up guc.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Splitting up guc.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Splitting up guc.c  (Andres Freund <andres@anarazel.de>)
Re: Splitting up guc.c  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

>> I think this is localized enough that asking people to manually resolve a
>> conflict around adding a GUC entry wouldn't be asking for that much. And I
>> think plenty changes might be automatically resolvable, despite the rename.
>
> I wonder whether git will be able to figure out that this is mostly a
> code move.  I would expect so for a straight file rename, but will that
> work when we're splitting the file 3 ways?

Git can detect more complicated code movement (see the `--color-moved`
option to `git diff`), but I'm not sure it's clever enough to realise
that a change modifying a block of code that was moved in the meanwhile
should be applied at the new destination.

>             regards, tom lane

- ilmari



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Can we avoid chdir'ing in resolve_symlinks() ?
Следующее
От: Dmitry Astapov
Дата:
Сообщение: Estimating bloat for very large tables: what is the state of art?