aboutsummaryrefslogtreecommitdiffhomepage
path: root/git-remote-gcrypt
diff options
context:
space:
mode:
authorroot <root@localhost>2013-02-14 00:00:00 +0000
committerroot <root@localhost>2013-02-14 00:00:00 +0000
commitd18e84b77b8a4c11cff042d1273358524d45eed2 (patch)
tree54acfe1398945bbe35f95675858009e60980edb3 /git-remote-gcrypt
parentaa0ad07cddf4aa51c707daff07fe66e60146e154 (diff)
downloadgit-remote-gcrypt-d18e84b77b8a4c11cff042d1273358524d45eed2.tar.gz
Use git index-pack for much better fetch and clone
Diffstat (limited to 'git-remote-gcrypt')
-rwxr-xr-xgit-remote-gcrypt4
1 files 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