aboutsummaryrefslogtreecommitdiff
path: root/git-gui
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2017-11-01 18:03:20 +0100
committerJunio C Hamano <gitster@pobox.com>2017-11-03 22:45:45 +0900
commitf54c5bd40c0e215fc0ba196d74b092ef3ec02273 (patch)
treea869ff05fa594c7a72f9ffff3278a1ac4632579c /git-gui
parent9752ad0bb79f680bca48db7adc45338b298304b0 (diff)
downloadgit-f54c5bd40c0e215fc0ba196d74b092ef3ec02273.tar.gz
git-f54c5bd40c0e215fc0ba196d74b092ef3ec02273.tar.xz
imap-send: handle NULL return of next_arg()
next_arg() returns NULL if it runs out of arguments. Most call sites already handle that gracefully. Check in the remaining cases as well. Replace the NULL pointer with an empty string at the bottom of get_cmd_result() -- it's nicely reported as an unexpected response a few lines down. Error out explicitly at the remaining sites. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui')
0 files changed, 0 insertions, 0 deletions