diff options
author | Nicolas Pitre <nico@cam.org> | 2008-06-24 23:18:17 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-06-24 23:58:57 -0700 |
commit | 77d3ecee85dbf354d2059d7ef65d788d90db3efa (patch) | |
tree | 9a3157fec311399aa4c2eac04a57ab18f7fdaf13 /pack.h | |
parent | 99093238bbf2cd886debf7bdb91478cb405ef66d (diff) | |
download | git-77d3ecee85dbf354d2059d7ef65d788d90db3efa.tar.gz |
move show_pack_info() where it belongs
This is called when verify_pack() has its verbose argument set, and
verbose in this context makes sense only for the actual 'git verify-pack'
command. Therefore let's move show_pack_info() to builtin-verify-pack.c
instead and remove useless verbose argument from verify_pack().
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack.h')
-rw-r--r-- | pack.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ struct pack_idx_entry { extern char *write_idx_file(char *index_name, struct pack_idx_entry **objects, int nr_objects, unsigned char *sha1); -extern int verify_pack(struct packed_git *, int); +extern int verify_pack(struct packed_git *); extern void fixup_pack_header_footer(int, unsigned char *, const char *, uint32_t); extern char *index_pack_lockfile(int fd); |