From: Junio C Hamano Date: Fri, 14 Feb 2020 20:54:22 +0000 (-0800) Subject: Merge branch 'mt/use-passed-repo-more-in-funcs' X-Git-Tag: v2.26.0-rc0~54 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fgit.git;a=commitdiff_plain;h=78e67cda42a440f216fc4cbfd8a9e190c5eece5a Merge branch 'mt/use-passed-repo-more-in-funcs' Some codepaths were given a repository instance as a parameter to work in the repository, but passed the_repository instance to its callees, which has been cleaned up (somewhat). * mt/use-passed-repo-more-in-funcs: sha1-file: allow check_object_signature() to handle any repo sha1-file: pass git_hash_algo to hash_object_file() sha1-file: pass git_hash_algo to write_object_file_prepare() streaming: allow open_istream() to handle any repo pack-check: use given repo's hash_algo at verify_packfile() cache-tree: use given repo's hash_algo at verify_one() diff: make diff_populate_filespec() honor its repo argument --- 78e67cda42a440f216fc4cbfd8a9e190c5eece5a