From: Jeff King <peff@peff.net>
To: git@vger.kernel.org
Subject: [PATCH 0/3] mixed bag of -Wunused-parameter bugfixes
Date: Fri, 2 Nov 2018 01:22:39 -0400 [thread overview]
Message-ID: <20181102052239.GA19162@sigill.intra.peff.net> (raw)
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 reply other threads:[~2018-11-02 5:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-02 5:22 Jeff King [this message]
2018-11-02 5:22 ` [PATCH 1/3] rev-list: handle flags for --indexed-objects Jeff King
2018-11-02 5:23 ` [PATCH 2/3] approxidate: handle pending number for "specials" Jeff King
2018-11-07 0:48 ` Carlo Arenas
2018-11-07 1:12 ` Jeff King
2018-11-07 2:08 ` Junio C Hamano
2018-11-02 5:23 ` [PATCH 3/3] pathspec: handle non-terminated strings with :(attr) Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181102052239.GA19162@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).