]> git.ipfire.org Git - thirdparty/git.git/commit - decorate.h
decorate: clean up and document API
authorJonathan Tan <jonathantanmy@google.com>
Fri, 8 Dec 2017 00:14:24 +0000 (16:14 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Dec 2017 17:16:27 +0000 (09:16 -0800)
commitddd3e3124276133d0c7e902287ab4113f660f6d7
treee4e7b903528eb62e81a9f8660a40aa3ddb3ff14c
parent95ec6b1b3393eb6e26da40c565520a8db9796e9f
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>
Documentation/technical/api-decorate.txt [deleted file]
Makefile
builtin/fast-export.c
decorate.c
decorate.h
t/helper/.gitignore
t/helper/test-example-decorate.c [new file with mode: 0644]
t/t9004-example.sh [new file with mode: 0755]