summaryrefslogtreecommitdiff
path: root/Documentation/git-mv.txt
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2016-09-13 18:40:22 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-09-13 16:07:37 -0700
commita8342a417e48385f7ebc19ab46a940ea1fa060ae (patch)
treed0b3415ceff91022553a6432cb7a185d988f109c /Documentation/git-mv.txt
parentGit 2.8.4 (diff)
downloadtgif-a8342a417e48385f7ebc19ab46a940ea1fa060ae.tar.xz
strbuf: use valid pointer in strbuf_remove()
The fourth argument of strbuf_splice() is passed to memcpy(3), which is not supposed to handle NULL pointers. Let's be extra careful and use a valid empty string instead. It even shortens the source code. :) Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-mv.txt')
0 files changed, 0 insertions, 0 deletions