diff options
author | John Keeping <john@keeping.me.uk> | 2013-02-07 20:15:26 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-12 11:42:07 -0800 |
commit | f192223447746a503bf664135a0e537d15876ebe (patch) | |
tree | b8dc638c95c4e2b289f899cbad1d7e1a0323dd26 /test-mktemp.c | |
parent | diff.c: make constant string arguments const (diff) | |
download | tgif-f192223447746a503bf664135a0e537d15876ebe.tar.xz |
diff: add diff_line_prefix function
This is a helper function to call the diff output_prefix function and
return its value as a C string, allowing us to greatly simplify
everywhere that needs to get the output prefix.
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-mktemp.c')
0 files changed, 0 insertions, 0 deletions