diff options
| author | Junio C Hamano <gitster@pobox.com> | 2019-02-06 22:05:23 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-02-06 22:05:23 -0800 |
| commit | b2fc9d2fb02782a20d4370d7989be8b0a54f1017 (patch) | |
| tree | 9771fd700c2e746ddee794f0c89b69004ad3950f /bundle.c | |
| parent | 7589e63648bf5224e186990931b1491f36e10a4b (diff) | |
| parent | 55ad152cfbf99409859fc8f7a1d602d9c47415a4 (diff) | |
| download | git-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 'bundle.c')
| -rw-r--r-- | bundle.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -424,8 +424,8 @@ static int write_bundle_refs(int bundle_fd, struct rev_info *revs) return ref_count; } -int create_bundle(struct repository *r, struct bundle_header *header, - const char *path, int argc, const char **argv) +int create_bundle(struct repository *r, const char *path, + int argc, const char **argv) { struct lock_file lock = LOCK_INIT; int bundle_fd = -1; |
