]> Nutra Git (v2) - gamesguru/git-remote-gcrypt.git/commitdiff
Minicleanup in do_push
authorroot <root@localhost>
Mon, 11 Feb 2013 02:06:09 +0000 (23:06 -0300)
committerroot <root@localhost>
Mon, 11 Feb 2013 02:06:09 +0000 (23:06 -0300)
git-remote-gcrypt

index dc05f18548a0bbebf5a57e2f6531229ffce83ca5..8dfa4c7e78f71f5d0921b8a3539d67b7d1d07971 100755 (executable)
@@ -733,12 +733,14 @@ EOF
        then
                PUT "$URL" "$pack_id" "$TmpPack_Encrypted"
        fi
-       rm -f "$TmpPack_Encrypted"
-       rm -f "$TmpObjlist"
 
        # Upload manifest
        PUT "$URL" "$Manifestfile" "$TmpManifest_Enc"
 
+       rm -f "$TmpPack_Encrypted"
+       rm -f "$TmpObjlist"
+       rm -f "$TmpManifest_Enc"
+
        # Delete packs
        if isnonnull "$pack_delete"; then
                REMOVE "$URL" "$(xecho "$pack_delete" | while read packline_
@@ -751,8 +753,6 @@ EOF
 
        PUT_FINAL "$URL"
 
-       rm -f "$TmpManifest_Enc"
-
        # ok all updates
        xecho "$1" | while read line_
        do