mirror of
https://github.com/git/git.git
synced 2024-10-30 13:57:54 +01:00
ddd3e31242
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>
10 lines
158 B
Bash
Executable file
10 lines
158 B
Bash
Executable file
#!/bin/sh
|
|
|
|
test_description='check that example code compiles and runs'
|
|
. ./test-lib.sh
|
|
|
|
test_expect_success 'decorate' '
|
|
test-example-decorate
|
|
'
|
|
|
|
test_done
|