diff options
author | root <root@localhost> | 2013-02-14 00:00:00 +0000 |
---|---|---|
committer | root <root@localhost> | 2013-02-14 00:00:00 +0000 |
commit | d18e84b77b8a4c11cff042d1273358524d45eed2 (patch) | |
tree | 54acfe1398945bbe35f95675858009e60980edb3 /git-remote-gcrypt | |
parent | aa0ad07cddf4aa51c707daff07fe66e60146e154 (diff) | |
download | git-remote-gcrypt-d18e84b77b8a4c11cff042d1273358524d45eed2.tar.gz |
Use git index-pack for much better fetch and clone
Diffstat (limited to 'git-remote-gcrypt')
-rwxr-xr-x | git-remote-gcrypt | 4 |
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 |