Merge branch 'aw/gc-lockfile-fscanf-fix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 25 Sep 2017 06:24:08 +0000 (15:24 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Sep 2017 06:24:09 +0000 (15:24 +0900)
commitabdf7d8e25f16913f1fcabc0a5e9f125126ffe80
tree777d74bd9a849d666de97cd9463898d01c391375
parent450b9086484775c99d512c5a6d68fba232183579
parentafe2fab72c3151d02314ab5ef3708cd203c499e5
Merge branch 'aw/gc-lockfile-fscanf-fix'

"git gc" tries to avoid running two instances at the same time by
reading and writing pid/host from and to a lock file; it used to
use an incorrect fscanf() format when reading, which has been
corrected.

* aw/gc-lockfile-fscanf-fix:
  gc: call fscanf() with %<len>s, not %<len>c, when reading hostname
builtin/gc.c