Re: 10% drop in code line count in PG 17

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: 10% drop in code line count in PG 17
Дата
Msg-id CAApHDvrhL=P7qWFYPRYJoT0LiVS9TPnLO7Gf-VnqLuPu34p=5Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: 10% drop in code line count in PG 17  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: 10% drop in code line count in PG 17
Список pgsql-hackers
On Fri, 21 Nov 2025 at 09:27, Bruce Momjian <bruce@momjian.us> wrote:
> # This script is used to compute the total number of "C" lines in the release
> -# This should be run from the top of the Git tree after a 'make distclean'
> -find . -name '*.[chyl]' | xargs cat| wc -l
> +# This should be run from the top of the Git tree.
> +git ls-files -- '*.[chyl]' | xargs cat | wc -l

I think you need to keep the "top of the Git tree" comment as git
ls-files is context-based.

David



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