aboutsummaryrefslogtreecommitdiffstats
path: root/send-pack.c
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2006-08-14 13:38:50 -0700
committerJunio C Hamano <junkio@cox.net>2006-08-14 18:59:03 -0700
commitaa145403da905aaa9f129b0f13b5bca7994cb329 (patch)
tree03ad30322dba59c0ba9a53ea0a4df9cc6875029d /send-pack.c
parentb5524c826dc36e5d9d2455cfca85aa62f1a776d1 (diff)
downloadgit-aa145403da905aaa9f129b0f13b5bca7994cb329.tar.gz
Make pack_objects void.
Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'send-pack.c')
-rw-r--r--send-pack.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/send-pack.c b/send-pack.c
index 10bc8bc359..b7cc1a9089 100644
--- a/send-pack.c
+++ b/send-pack.c
@@ -111,7 +111,7 @@ static void rev_list(int fd, struct ref *refs)
exec_rev_list(refs);
}
-static int pack_objects(int fd, struct ref *refs)
+static void pack_objects(int fd, struct ref *refs)
{
pid_t rev_list_pid;
@@ -126,7 +126,6 @@ static int pack_objects(int fd, struct ref *refs)
* We don't wait for the rev-list pipeline in the parent:
* we end up waiting for the other end instead
*/
- return 0;
}
static void unmark_and_free(struct commit_list *list, unsigned int mark)