pgsql: tools: update tools/codelines to use "git ls-files"

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: tools: update tools/codelines to use "git ls-files"
Date: 2025-11-20 20:24:00
Message-ID: E1vMBCB-000WYm-2L@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

tools: update tools/codelines to use "git ls-files"

This generates a more accurate code count because 'make distclean'
doesn't always remove build files.

Author: idea from David Rowley

Discussion: https://postgr.es/m/aR4hoOotVHB7TXo5@momjian.us

Backpatch-through: master

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5d4dc112c7c6c10be739d61e8be012f20e9fdbbf

Modified Files
--------------
src/tools/codelines | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Melanie Plageman 2025-11-20 22:37:56 pgsql: Split PruneFreezeParams initializers to one field per line
Previous Message Robert Haas 2025-11-20 18:18:56 Re: pgsql: Teach DSM registry to ERROR if attaching to an uninitialized ent