]> git.ipfire.org Git - thirdparty/git.git/commit - notes-merge.c
Move create_notes_commit() from notes-merge.c into notes-utils.c
authorJohan Herland <johan@herland.net>
Wed, 12 Jun 2013 00:13:01 +0000 (02:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Jun 2013 17:38:13 +0000 (10:38 -0700)
commitbf9a05ba46a9d464424d22482aaa54abdd28b77d
tree59c7c71f81859fc4d11176f02f810f80b22f55d7
parent49c2470400bbb695b953abeb4e6737be747317af
Move create_notes_commit() from notes-merge.c into notes-utils.c

create_notes_commit() is needed by both the notes-merge code, and by
commit_notes() in notes-utils. Since it is generally useful, and not
bound to the notes-merge machinery, we move it from (the more specific)
notes-merge to (the more general) notes-utils.

Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
notes-merge.c
notes-merge.h
notes-utils.c
notes-utils.h