Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-07-19 23:22:22 +0300
committerJunio C Hamano <gitster@pobox.com>2016-07-19 23:22:22 +0300
commit96e08010ee5b9d1dbfbcc8561fa69f972a415a38 (patch)
tree03768d6b32e30959c8c587fcd73ca3c1da8ae275 /commit.h
parentf5236a776f31de2654bca9001aa74ef9fe0819d8 (diff)
parent54307ea7c3ced760ee375483a786ec7180798aed (diff)
Merge branch 'jk/printf-format'
Code clean-up to avoid using a variable string that compilers may feel untrustable as printf-style format given to write_file() helper function. * jk/printf-format: commit.c: remove print_commit_list() avoid using sha1_to_hex output as printf format walker: let walker_say take arbitrary formats
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/commit.h b/commit.h
index 3b88c8889d..23ae0c1d64 100644
--- a/commit.h
+++ b/commit.h
@@ -377,10 +377,6 @@ extern int parse_signed_commit(const struct commit *commit,
struct strbuf *message, struct strbuf *signature);
extern int remove_signature(struct strbuf *buf);
-extern void print_commit_list(struct commit_list *list,
- const char *format_cur,
- const char *format_last);
-
/*
* Check the signature of the given commit. The result of the check is stored
* in sig->check_result, 'G' for a good signature, 'U' for a good signature