summaryrefslogtreecommitdiff
path: root/t/t9163-git-svn-reset-clears-caches.sh
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2017-11-30 00:51:41 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-12-05 13:37:43 -0800
commit826c778f7c3bd6c8356a8ecfd1cb0e4326fcf1d8 (patch)
tree24d40fd01c10d696c3faadf26b7fa1584bcfcebc /t/t9163-git-svn-reset-clears-caches.sh
parentGit 2.15.1 (diff)
downloadtgif-826c778f7c3bd6c8356a8ecfd1cb0e4326fcf1d8.tar.xz
hashmap: adjust documentation to reflect reality
The hashmap API is just complicated enough that even at least one long-time Git contributor has to look up how to use it every time he finds a new use case. When that happens, it is really useful if the provided example code is correct... While at it, "fix a memory leak", avoid statements before variable declarations, fix a const -> no-const cast, several %l specifiers (which want to be %ld), avoid using an undefined constant, call scanf() correctly, use FLEX_ALLOC_STR() where appropriate, and adjust the style here and there. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9163-git-svn-reset-clears-caches.sh')
0 files changed, 0 insertions, 0 deletions