summaryrefslogtreecommitdiff
path: root/run-command.h
diff options
context:
space:
mode:
authorLibravatar Heiko Voigt <hvoigt@hvoigt.net>2016-07-28 14:50:05 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-28 13:05:36 -0700
commit55cbe18e1146320674968820150126ee34e5d332 (patch)
tree54cfef57f4cb222a381cb64e1b6530636277c4a0 /run-command.h
parentsubmodule-config: combine early return code into one goto (diff)
downloadtgif-55cbe18e1146320674968820150126ee34e5d332.tar.xz
submodule-config: fix test binary crashing when no arguments given
Since arg[0] will be NULL without any argument here and starts_with() does not like NULL-pointers. Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net> Reviewed-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.h')
0 files changed, 0 insertions, 0 deletions