about summary refs log tree commit diff
path: root/html.h
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2018-08-28 20:33:02 +0200
committerChristian Hesse <mail@eworm.de>2018-09-11 08:47:12 +0200
commit2fc008d6dea2456548825c973a5516b5cdfd9c8c (patch)
tree9d900eded274af71e15f4d721f8ccee512b5b839 /html.h
parentui-patch: ban sprintf() (diff)
downloadcgit-pink-2fc008d6dea2456548825c973a5516b5cdfd9c8c.tar.gz
cgit-pink-2fc008d6dea2456548825c973a5516b5cdfd9c8c.zip
ui-shared: ban strcat()
Git upstream bans strcat() with commit:

  banned.h: mark strcat() as banned
  1b11b64b815db62f93a04242e4aed5687a448748

To avoid compiler warnings from gcc 8.1.x we get the hard way.

Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
e> 2014-01-08ui-log.c: Several simplificationsLukas Fleischer * Use argv_array_pushf() for inserting formatted strings. * Remove unneeded static strings. * Replace "if" by "else if" for readability and speed. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-08Use argv_array in place of vectorLukas Fleischer Instead of using our own vector implementation, use argv_array from Git which has been specifically designed for dynamic size argv arrays. Drop vector.h and vector.c which are no longer needed. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-08ui-stats.c: Remove unused macroLukas Fleischer Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2014-01-08scan-tree.c: Remove unused macroLukas Fleischer This is no longer needed since commit fb3655df (use struct strbuf instead of static buffers, 2013-04-06). Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2013-09-14ui-shared: Drop filepair_cb_raw() and helperLukas Fleischer Remove filepair_cb_raw() and all related functions. These are no longer needed. We now use Git's internal functions for raw diff formatting everywhere. Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de> 2013-09-14ui-diff: Use diff_tree_sha1() for raw diff formattingLukas Fleischer