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

[PATCH 0/3] mixed bag of -Wunused-parameter bugfixes

From
Jeff King <peff@peff.net>
Date
Nov 2, 2018, 05:22 UTC
Message-ID
<20181102052239.GA19162@sigill.intra.peff.net>

Here are three minor bug-fixes that can be applied independently. The common thread is that I found them by looking at the results of compiling with -Wunused-parameter. In each of these cases, the parameter _should_ be used, and not doing so was a bug.

  [1/3]: rev-list: handle flags for --indexed-objects
  [2/3]: approxidate: handle pending number for "specials"
  [3/3]: pathspec: handle non-terminated strings with :(attr)
 date.c                   | 60 ++++++++++++++++++++++------------------
 dir.c                    |  7 +++++
 revision.c               | 15 ++++++----
 t/t0006-date.sh          |  1 +
 t/t6000-rev-list-misc.sh |  7 +++++
 5 files changed, 57 insertions(+), 33 deletions(-)
-Peff
Next: Jeff King
Message 1 of 7 in “mixed bag of -Wunused-parameter bugfixes”
  1. 0/3 mixed bag of -Wunused-parameter bugfixesJeff King, Nov 2, 2018
  2. 1/3 rev-list: handle flags for --indexed-objectsJeff King, Nov 2, 2018
  3. 2/3 approxidate: handle pending number for "specials"Jeff King, Nov 2, 2018
  4. Carlo ArenasNov 7, 2018
  5. Jeff KingNov 7, 2018
  6. Junio C HamanoNov 7, 2018
  7. 3/3 pathspec: handle non-terminated strings with :(attr)Jeff King, Nov 2, 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.