decorate: clean up and document API
Improve the names of the identifiers in decorate.h, document them, and add an example of how to use these functions. The example is compiled and run as part of the test suite. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
95ec6b1b33
commit
ddd3e31242
@ -895,7 +895,7 @@ static void export_marks(char *file)
|
||||
{
|
||||
unsigned int i;
|
||||
uint32_t mark;
|
||||
struct object_decoration *deco = idnums.hash;
|
||||
struct decoration_entry *deco = idnums.entries;
|
||||
FILE *f;
|
||||
int e = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user