... instead of the repository's config file. For compatibility,
a fallback mechanism that falls back on reading the $GIT_DIR/config
file is provided.
For MC20-031.
We are still preserving the hooks_config file within the test
directory in order to help grep-ability, but this is no longer
the master. The pack-test-repos script has been updated to grab
and update our convenience copy to match the latest master.
Similarly, the unpack-test-repos script has been updated to use
the project.config file (ie, use the master copy) to populate
the bare repository's config file. It is expected that this part
will become unnecessary at some point, when the hooks are enhanced
to get their config from this file, instead of the repository's
config file.
For MC20-031.
... not just the bare/repo.git directory. That way, we can have
multiple bare repositories. This can be useful in the context of
git submodules, where multiple git repositories are in use.
The current approach was not working, because it is hard to check in
a complete bare repository. Also, checking git repositories had the
disadvantage that the git repositories always contain a LOT of files,
flooding the other changes with those changes. It is easier in all
counts to just use an archive.
This does not fix the testcases themselves, but the checked in versions
do not work anyway, it doesn't make things worse in practice.