diff options
author | Heiko Voigt <hvoigt@hvoigt.net> | 2016-07-28 14:50:05 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-28 13:05:36 -0700 |
commit | 55cbe18e1146320674968820150126ee34e5d332 (patch) | |
tree | 54cfef57f4cb222a381cb64e1b6530636277c4a0 /t | |
parent | submodule-config: combine early return code into one goto (diff) | |
download | tgif-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 't')
0 files changed, 0 insertions, 0 deletions