]> asedeno.scripts.mit.edu Git - git.git/blobdiff - http-push.c
Merge branch 'master' into cc/help
[git.git] / http-push.c
index 66b81f17266569ee47d32ec58df9d1386e4d0431..78283b4de3b9111d87368df747daa96b5f6c09c3 100644 (file)
@@ -433,7 +433,7 @@ static void start_fetch_packed(struct transfer_request *request)
        packfile = fopen(request->tmpfile, "a");
        if (!packfile) {
                fprintf(stderr, "Unable to open local file %s for pack",
-                       filename);
+                       request->tmpfile);
                remote->can_update_info_refs = 0;
                free(url);
                return;
@@ -941,7 +941,7 @@ static int fetch_index(unsigned char *sha1)
        indexfile = fopen(tmpfile, "a");
        if (!indexfile)
                return error("Unable to open local file %s for pack index",
-                            filename);
+                            tmpfile);
 
        slot = get_active_slot();
        slot->results = &results;