]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'mt/use-passed-repo-more-in-funcs'
authorJunio C Hamano <gitster@pobox.com>
Fri, 14 Feb 2020 20:54:22 +0000 (12:54 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Feb 2020 20:54:22 +0000 (12:54 -0800)
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

1  2 
builtin/fast-export.c
builtin/pack-objects.c
cache.h
convert.c
diff.c
dir.c
object-store.h
object.c
sha1-file.c

Simple merge
Simple merge
diff --cc cache.h
Simple merge
diff --cc convert.c
Simple merge
diff --cc diff.c
Simple merge
diff --cc dir.c
Simple merge
diff --cc object-store.h
Simple merge
diff --cc object.c
Simple merge
diff --cc sha1-file.c
Simple merge