Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/rebase-i-progress-tidy'
[gitweb.git]
/
t
/
helper
/
test-submodule-config.c
diff --git
a/t/helper/test-submodule-config.c
b/t/helper/test-submodule-config.c
index 61049b87a07c638a9211b11484c503ffc56a1f9e..2f144d539a4822619a9383ded2d3adb270484624 100644
(file)
--- a/
t/helper/test-submodule-config.c
+++ b/
t/helper/test-submodule-config.c
@@
-23,7
+23,7
@@
int cmd_main(int argc, const char **argv)
arg++;
my_argc--;
- while (starts_with(arg[0], "--")) {
+ while (
arg[0] &&
starts_with(arg[0], "--")) {
if (!strcmp(arg[0], "--url"))
output_url = 1;
if (!strcmp(arg[0], "--name"))