summaryrefslogtreecommitdiff
path: root/pack.h
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2008-06-24 23:18:17 -0400
committerJunio C Hamano <gitster@pobox.com>2008-06-24 23:58:57 -0700
commit77d3ecee85dbf354d2059d7ef65d788d90db3efa (patch)
tree9a3157fec311399aa4c2eac04a57ab18f7fdaf13 /pack.h
parent99093238bbf2cd886debf7bdb91478cb405ef66d (diff)
downloadgit-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack.h b/pack.h
index b31b37608d..465071cd29 100644
--- a/pack.h
+++ b/pack.h
@@ -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);