]> git.ipfire.org Git - thirdparty/git.git/commit
commit-graph: anonymize data in chunk_write_fn
authorDerrick Stolee <dstolee@microsoft.com>
Fri, 5 Feb 2021 14:30:36 +0000 (14:30 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Feb 2021 23:40:41 +0000 (15:40 -0800)
commiteb9071912f5ca370d7e30e88434ffa10c182ed81
tree97804f25640ef052166b6d42c38c038118776eb6
parent5a3b130cad0d5c770f766e3af6d32b41766374c0
commit-graph: anonymize data in chunk_write_fn

In preparation for creating an API around file formats using chunks and
tables of contents, prepare the commit-graph write code to use
prototypes that will match this new API.

Specifically, convert chunk_write_fn to take a "void *data" parameter
instead of the commit-graph-specific "struct write_commit_graph_context"
pointer.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
commit-graph.c