summaryrefslogtreecommitdiff
path: root/http-push.c
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2008-06-25 03:18:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-06-25 06:58:57 (GMT)
commit77d3ecee85dbf354d2059d7ef65d788d90db3efa (patch)
tree9a3157fec311399aa4c2eac04a57ab18f7fdaf13 /http-push.c
parent99093238bbf2cd886debf7bdb91478cb405ef66d (diff)
downloadgit-77d3ecee85dbf354d2059d7ef65d788d90db3efa.zip
git-77d3ecee85dbf354d2059d7ef65d788d90db3efa.tar.gz
git-77d3ecee85dbf354d2059d7ef65d788d90db3efa.tar.bz2
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 'http-push.c')
-rw-r--r--http-push.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c
index 665712a..2cd068a 100644
--- a/http-push.c
+++ b/http-push.c
@@ -783,7 +783,7 @@ static void finish_request(struct transfer_request *request)
lst = &((*lst)->next);
*lst = (*lst)->next;
- if (!verify_pack(target, 0))
+ if (!verify_pack(target))
install_packed_git(target);
else
remote->can_update_info_refs = 0;