git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Subject: [PATCH 0/9] hdr-check

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Sep 19, 2018, 00:05 UTC
Message-ID
<466296e7-6462-d5c1-2d57-2a636309054c@ramsayjones.plus.com>

This series follows on from a quick "just before bedtime" exercise recently[1]. The new 'hdr-check' target essentially automates what Elijah did by hand. I tend to run:

  $ make -h hdr-check >hcout 2>&1
  $ vim hcout

... and I only just realised that if somebody wanted to add this to an travis CI job (it won't be me), then it would be a good idea to add '-Werror' to the compiler command; otherwise 'make' would not exit with an error if the compiler only issues warnings.

This series was built on the current 'master' branch (@2d3b1c576c), although patches #1-6 apply on v2.19.0. (The last three patches used to be on 'next' until last night!).

If I merge this to 'next', I have to add an additional patch for a clean 'hdr-check'. Exactly the same comment for the current 'pu' branch.

[1] https://public-inbox.org/git/b8553a50-6b97-2b45-2f7b-cfe2576548cb@ramsayjones.plus.com/

ATB, Ramsay Jones

Ramsay Jones (9):
  Makefile: add a hdr-check target
  json-writer.h: add missing include (hdr-check)
  ewah/ewok_rlw.h: add missing include (hdr-check)
  refs/ref-cache.h: add missing declarations (hdr-check)
  refs/packed-backend.h: add missing declaration (hdr-check)
  refs/refs-internal.h: add missing declarations (hdr-check)
  midx.h: add missing forward declarations (hdr-check)
  delta-islands.h: add missing forward declarations (hdr-check)
  commit-reach.h: add missing declarations (hdr-check)
 Makefile              | 12 ++++++++++++
 commit-reach.h        |  5 +++--
 delta-islands.h       |  4 ++++
 ewah/ewok_rlw.h       |  2 ++
 json-writer.h         |  2 ++
 midx.h                |  3 +++
 refs/packed-backend.h |  2 ++
 refs/ref-cache.h      |  3 +++
 refs/refs-internal.h  |  4 ++++
 9 files changed, 35 insertions(+), 2 deletions(-)
-- 
2.19.0
Next: Elijah Newren
Message 1 of 2 in “Subject: [PATCH 0/9] hdr-check”
  1. Ramsay JonesSep 19, 2018
  2. Elijah NewrenSep 19, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.