summaryrefslogtreecommitdiff
path: root/builtin/log.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-12-22 05:16:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-12-22 05:16:51 (GMT)
commit25a751f198c7f82e04f7c8ba866b3b89198c534f (patch)
tree69b1bdfa8fa581d88bdca6a5fe846f6975c1558c /builtin/log.c
parent8c7a786b6c8eae8eac91083cdc9a6e337bc133b0 (diff)
downloadgit-25a751f198c7f82e04f7c8ba866b3b89198c534f.zip
git-25a751f198c7f82e04f7c8ba866b3b89198c534f.tar.gz
git-25a751f198c7f82e04f7c8ba866b3b89198c534f.tar.bz2
builtin/log.c: drop unused "numbered" parameter from make_cover_letter()
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/log.c')
-rw-r--r--builtin/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/log.c b/builtin/log.c
index 09cf43e..28d9063 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -768,7 +768,7 @@ static void add_branch_description(struct strbuf *buf, const char *branch_name)
}
static void make_cover_letter(struct rev_info *rev, int use_stdout,
- int numbered, int numbered_files,
+ int numbered_files,
struct commit *origin,
int nr, struct commit **list, struct commit *head,
const char *branch_name,
@@ -1343,7 +1343,7 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
if (cover_letter) {
if (thread)
gen_message_id(&rev, "cover");
- make_cover_letter(&rev, use_stdout, numbered, numbered_files,
+ make_cover_letter(&rev, use_stdout, numbered_files,
origin, nr, list, head, branch_name, quiet);
total++;
start_number--;