diff options
author | Matheus Tavares <matheus.bernardino@usp.br> | 2020-01-30 17:32:21 -0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-31 10:45:39 -0800 |
commit | 7ad5c44d9ce559703245d389aa71c4445dc9359c (patch) | |
tree | 5c400aa62abca521553f96c07238aa2d07e8eace /commit-graph.c | |
parent | c8123e72f6d8bc4106afdd172895a28b0c30fb3b (diff) | |
download | git-7ad5c44d9ce559703245d389aa71c4445dc9359c.tar.gz |
sha1-file: pass git_hash_algo to write_object_file_prepare()
Allow write_object_file_prepare() to receive arbitrary 'struct
git_hash_algo's instead of always using the_hash_algo. The added
parameter will be used in the next commit to make hash_object_file() be
able to work with arbitrary git_hash_algo's, as well.
Signed-off-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions