Merge branch 'sh/write-pack-file-warning-message-fix'

A warning from "git pack-objects" were generated by referring to an
incorrect variable when forming the filename that we had trouble
with.

* sh/write-pack-file-warning-message-fix:
  write_pack_file: use correct variable in diagnostic
This commit is contained in:
Junio C Hamano 2014-03-14 14:27:16 -07:00
commit 56e2874a81

View File

@ -823,7 +823,7 @@ static void write_pack_file(void)
utb.modtime = --last_mtime;
if (utime(pack_tmp_name, &utb) < 0)
warning("failed utime() on %s: %s",
tmpname, strerror(errno));
pack_tmp_name, strerror(errno));
}
/* Enough space for "-<sha-1>.pack"? */