]> git.ipfire.org Git - thirdparty/git.git/commit - notes-utils.c
notes: convert write_notes_tree to object_id
authorPatryk Obara <patryk.obara@gmail.com>
Sun, 28 Jan 2018 00:13:18 +0000 (01:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 30 Jan 2018 18:42:36 +0000 (10:42 -0800)
commitbbca96d579b31900c9c0ad39299a3c9a3bd276f9
tree9980654efa40c1db4a70e605079b639cee6eb5db
parentb7d591d17b0497597c2152ae86bd8aa4220d6961
notes: convert write_notes_tree to object_id

Convert the definition and declaration of write_notes_tree to
struct object_id and adjust usage of this function.

Additionally, improve style of small part of this function, as old
formatting made it hard to understand at glance what this part of
code is doing.

Signed-off-by: Patryk Obara <patryk.obara@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
notes-cache.c
notes-utils.c
notes.c
notes.h