From d18e84b77b8a4c11cff042d1273358524d45eed2 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 14 Feb 2013 00:00:00 +0000 Subject: [PATCH] Use git index-pack for much better fetch and clone --- git-remote-gcrypt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-remote-gcrypt b/git-remote-gcrypt index 22b4caf..019c10b 100755 --- a/git-remote-gcrypt +++ b/git-remote-gcrypt @@ -301,8 +301,8 @@ do_fetch() echo_info "Packfile $PACK does not match digest!" exit 1 fi - DECRYPT < "$TMPPACK_ENCRYPTED" | git unpack-objects - + DECRYPT < "$TMPPACK_ENCRYPTED" | \ + git index-pack -v --stdin >/dev/null # add to local pack list printf "$PACKPFX%s\n" "$PACK" >> "$LOCALDIR/have_packs" done