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>

Jeff King committed Jun 18, 2019 at 11:54 UTC 96728b223685410a252a253bd49f8ecb77f34cb1
2 files changed -2
builtin/verify-commit.c
-1
@@ -12,7 +12,6 @@
12 #include "repository.h"
13 #include "commit.h"
14 #include "run-command.h"
15 -#include <signal.h>
15 #include "parse-options.h"
16 #include "gpg-interface.h"
17
builtin/verify-tag.c
-1
@@ -10,7 +10,6 @@
10 #include "builtin.h"
11 #include "tag.h"
12 #include "run-command.h"
13 -#include <signal.h>
13 #include "parse-options.h"
14 #include "gpg-interface.h"
15 #include "ref-filter.h"