Merge branch 'aw/gc-lockfile-fscanf-fix' into maint
commit14431c717d1c549454b00800ee05723c82054765
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Oct 2017 05:18:59 +0000 (18 14:18 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Oct 2017 05:18:59 +0000 (18 14:18 +0900)
tree195a33ae9d8de921ade4102be93d47322534709b
parent0f213754f6db9c005d881c13a858901e6d40ccb0
parentafe2fab72c3151d02314ab5ef3708cd203c499e5
Merge branch 'aw/gc-lockfile-fscanf-fix' into maint

"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