Merge branch 'ds/midx-normalize-pathname-before-comparison' into maint
commit67c305f72290312e19113635023fed1e133d4f66
authorJunio C Hamano <gitster@pobox.com>
Wed, 8 Jun 2022 21:27:53 +0000 (8 14:27 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 Jun 2022 21:27:53 +0000 (8 14:27 -0700)
tree88139a69701481c4551ffcc4e0f06c369ae6c2fa
parent363d54ff806097ee01ad0614dda950d0ca88987c
parent11f9e8de3d1a3d484c452141f1fcdbd707457ec0
Merge branch 'ds/midx-normalize-pathname-before-comparison' into maint

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.
source: <pull.1221.v2.git.1650911234.gitgitgadget@gmail.com>

* 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