summaryrefslogtreecommitdiff
path: root/t/t1013/objects/1e
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2012-04-10 21:07:34 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-04-10 12:28:20 -0700
commita961d1f1ea2e3aaef0ff3e75920d1cd830d9b423 (patch)
treed69e3175e3698793f03328d956af708a051ddab9 /t/t1013/objects/1e
parentsubmodule: fix prototype of gitmodules_config (diff)
downloadtgif-a961d1f1ea2e3aaef0ff3e75920d1cd830d9b423.tar.xz
test-subprocess: fix segfault without arguments
Check if we even have a parameter before checking its value. Running this command without any arguments may not make a lot of sense, but reacting with a segmentation fault is unduly harsh. While we're at it, avoid casting argv by declaring it const right away. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1013/objects/1e')
0 files changed, 0 insertions, 0 deletions