Merge branch 'ds/midx-normalize-pathname-before-comparison'
commit8b28e2e2e4abd0e9cffe0d85afd6f0c0346bb948
authorJunio C Hamano <gitster@pobox.com>
Wed, 4 May 2022 16:51:29 +0000 (4 09:51 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 May 2022 16:51:29 +0000 (4 09:51 -0700)
tree1d26582328b9c1075f8e84a401e76f1262eb0b0d
parentdcf1ac24a2ffd9014779fe5504e8f66539fff4bc
parent11f9e8de3d1a3d484c452141f1fcdbd707457ec0
Merge branch 'ds/midx-normalize-pathname-before-comparison'

The path taken by "git multi-pack-index" command from the end user
was compared with path internally prepared by the tool withut first
normalizing, which lead to duplicated paths not being noticed,
which has been corrected.

* ds/midx-normalize-pathname-before-comparison:
  cache: use const char * for get_object_directory()
  multi-pack-index: use --object-dir real path
  midx: use real paths in lookup_multi_pack_index()
cache.h
environment.c
midx.c