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 | b9501e5b25d08a9024e434ecd5aaa9071c372ae1 (patch) | |
tree | ae95cdae94ca7d44c32fc4a164710ca600a1e698 /git-remote-gcrypt | |
parent | 3b95011da61b9a3c3288f8c8658efa3fc1260cb0 (diff) | |
download | git-remote-gcrypt-b9501e5b25d08a9024e434ecd5aaa9071c372ae1.tar.gz |
Fix bug in do_fetch, skip empty line
Diffstat (limited to 'git-remote-gcrypt')
-rwxr-xr-x | git-remote-gcrypt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git-remote-gcrypt b/git-remote-gcrypt index c0a44d4..11a018d 100755 --- a/git-remote-gcrypt +++ b/git-remote-gcrypt @@ -295,6 +295,7 @@ do_fetch() printf "%s\n" "$PNEED" | while read PACKLINE do + [ -z "$PACKLINE" ] && break PACK=${PACKLINE#"$PACKPFX"} RCVID="$(GET "$URL" "$PACK" | tee "$TMPPACK_ENCRYPTED" | pack_hash)" if [ "$RCVID" != "$PACK" ] |