Thread

  1. Re: cleanup: Split long Makefile lists across lines and sort them

    Chao Li <li.evan.chao@gmail.com> — 2025-12-25T09:37:10Z

    
    > On Dec 25, 2025, at 17:07, Jelte Fennema-Nio <postgres@jeltef.nl> wrote:
    > 
    > On Wed Dec 24, 2025 at 3:31 PM CET, Jelte Fennema-Nio wrote:
    >> Oops. Fixed in attached.
    > 
    > I had accidentally included a trailing backspace in one of the lists. To
    > my surprise that worked fine. Since these trailing separators result in
    > smaller git diffs when a new item is added at the end of the list, I
    > decided to put such trailing backslashes in all the lists in this patch.
    > <v3-0001-cleanup-Split-long-Makefile-lists-across-lines-an.patch>
    
    ```
    +REGRESS = \
    +	page \
    +	brin \
    +	btree \
    +	checksum \
    +	gin \
    +	gist \
    +	hash \
    +	oldextversions \
    ```
    
    If we look at existing Makefiles, they don’t add a tailing “\” in the last line of lists, so let’s keep consistent.
    
    Best regards,
    --
    Chao Li (Evan)
    HighGo Software Co., Ltd.
    https://www.highgo.com/