Re: renaming contrib. (was multi-platform, multi-locale regression tests)

Поиск
Список
Период
Сортировка
От Marti Raudsepp
Тема Re: renaming contrib. (was multi-platform, multi-locale regression tests)
Дата
Msg-id AANLkTikQnS_Zjr0N8Me2QM7uA_uMUEhJ0YaC5vPUMc4X@mail.gmail.com
обсуждение исходный текст
Ответ на Re: renaming contrib. (was multi-platform, multi-locale regression tests)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: renaming contrib. (was multi-platform, multi-locale regression tests)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Nov 11, 2010 at 17:24, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Given that we have, in fact, never renamed any files in the history of
> the project, I'm wondering exactly why it thinks that the number of
> potential rename/copy targets isn't zero.  The whole thing smells
> broken to me, which is why I am unhappy about the idea of suddenly
> starting to depend on it in a big way.

Because git doesn't do "rename tracking" at all -- a rename operation
is no different from a delete+add operation. Instead it tracks how
lines of code move around in the tree:
https://git.wiki.kernel.org/index.php/GitFaq#Why_does_git_not_.22track.22_renames.3F

Regards,
Marti


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: renaming contrib. (was multi-platform, multi-locale regression tests)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: renaming contrib. (was multi-platform, multi-locale regression tests)