mirror of
https://github.com/git/git
synced 2024-08-25 10:45:59 +00:00
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 in2ae68fcb78
(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 ind07b00b7f3
(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>
This commit is contained in:
parent
b697d92f56
commit
96728b2236
|
@ -12,7 +12,6 @@
|
||||||
#include "repository.h"
|
#include "repository.h"
|
||||||
#include "commit.h"
|
#include "commit.h"
|
||||||
#include "run-command.h"
|
#include "run-command.h"
|
||||||
#include <signal.h>
|
|
||||||
#include "parse-options.h"
|
#include "parse-options.h"
|
||||||
#include "gpg-interface.h"
|
#include "gpg-interface.h"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
#include "builtin.h"
|
#include "builtin.h"
|
||||||
#include "tag.h"
|
#include "tag.h"
|
||||||
#include "run-command.h"
|
#include "run-command.h"
|
||||||
#include <signal.h>
|
|
||||||
#include "parse-options.h"
|
#include "parse-options.h"
|
||||||
#include "gpg-interface.h"
|
#include "gpg-interface.h"
|
||||||
#include "ref-filter.h"
|
#include "ref-filter.h"
|
||||||
|
|
Loading…
Reference in a new issue