path: always pass in commondir to update_common_dir
authorBrandon Williams <bmwill@google.com>
Thu, 22 Jun 2017 18:43:36 +0000 (11:43 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 24 Jun 2017 01:24:34 +0000 (18:24 -0700)
commit7aee36013af88c5b61c5b07196555249a11993d2
treed74cd5b18c23b69b19d098d8b37d8ebb4aeef5ac
parente7d72d07535012b73c6bed67a5a09b1f58082203
path: always pass in commondir to update_common_dir

Instead of passing in 'NULL' and having 'update_common_dir()' query for
the commondir, have the callers of 'update_common_dir()' be responsible
for providing the commondir.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
path.c