Browse Source

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
maint
Junio C Hamano 11 years ago
parent
commit
56e2874a81
  1. 2
      builtin/pack-objects.c

2
builtin/pack-objects.c

@ -823,7 +823,7 @@ static void write_pack_file(void) @@ -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"? */

Loading…
Cancel
Save