summaryrefslogtreecommitdiff
path: root/builtin/verify-commit.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2019-06-18 15:54:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-06-19 15:19:21 (GMT)
commit96728b223685410a252a253bd49f8ecb77f34cb1 (patch)
tree5ce2b6799cf59535b58f706b3f253b3f40d8238b /builtin/verify-commit.c
parentb697d92f56511e804b8ba20ccbe7bdc85dc66810 (diff)
downloadgit-96728b223685410a252a253bd49f8ecb77f34cb1.zip
git-96728b223685410a252a253bd49f8ecb77f34cb1.tar.gz
git-96728b223685410a252a253bd49f8ecb77f34cb1.tar.bz2
verify-tag: drop signal.h include
There's no reason verify-tag.c needs to include signal.h. It's already in git-compat-util.h, which we properly include as the first header. And there doesn't seem to be a particular reason for this include; it's just an artifact from the file creation in 2ae68fcb78 (Make verify-tag a builtin., 2007-07-27). Likewise verify-commit.c has the same issue, probably because it was created using verify-tag as a template in d07b00b7f3 (verify-commit: scriptable commit signature verification, 2014-06-23). These includes are probably just redundant, and not hurting anything by circumventing the order that git-compat-util.h tries to impose, since we'll always have loaded git-compat-util by the time we get to these. So this is just a cleanup, and shouldn't fix or break any platforms. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/verify-commit.c')
-rw-r--r--builtin/verify-commit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/verify-commit.c b/builtin/verify-commit.c
index 7772c07..4e93914 100644
--- a/builtin/verify-commit.c
+++ b/builtin/verify-commit.c
@@ -12,7 +12,6 @@
#include "repository.h"
#include "commit.h"
#include "run-command.h"
-#include <signal.h>
#include "parse-options.h"
#include "gpg-interface.h"