summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-02-06 22:05:23 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-02-06 22:05:23 -0800
commitb2fc9d2fb02782a20d4370d7989be8b0a54f1017 (patch)
tree9771fd700c2e746ddee794f0c89b69004ad3950f /builtin
parentMerge branch 'nd/the-index-final' (diff)
parentconvert: drop path parameter from actual conversion functions (diff)
downloadtgif-b2fc9d2fb02782a20d4370d7989be8b0a54f1017.tar.xz
Merge branch 'jk/unused-parameter-cleanup'
Code cleanup. * jk/unused-parameter-cleanup: convert: drop path parameter from actual conversion functions convert: drop len parameter from conversion checks config: drop unused parameter from maybe_remove_section() show_date_relative(): drop unused "tz" parameter column: drop unused "opts" parameter in item_length() create_bundle(): drop unused "header" parameter apply: drop unused "def" parameter from find_name_gnu() match-trees: drop unused path parameter from score functions
Diffstat (limited to 'builtin')
-rw-r--r--builtin/bundle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin/bundle.c b/builtin/bundle.c
index 9e9c65d9c6..1ea4bfdfc1 100644
--- a/builtin/bundle.c
+++ b/builtin/bundle.c
@@ -56,8 +56,7 @@ int cmd_bundle(int argc, const char **argv, const char *prefix)
}
if (!startup_info->have_repository)
die(_("Need a repository to create a bundle."));
- return !!create_bundle(the_repository, &header,
- bundle_file, argc, argv);
+ return !!create_bundle(the_repository, bundle_file, argc, argv);
} else if (!strcmp(cmd, "unbundle")) {
if (!startup_info->have_repository)
die(_("Need a repository to unbundle."));