Commit 5a1c824
submodule: modernize ok_to_remove_submodule to use argv_array
Instead of constructing the NULL terminated array ourselves, we
should make use of the argv_array infrastructure.
While at it, adapt the error messages to reflect the actual invocation.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent bd26756 commit 5a1c824
1 file changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1023 | 1023 | | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | | - | |
1027 | | - | |
1028 | | - | |
1029 | | - | |
1030 | | - | |
1031 | | - | |
1032 | | - | |
1033 | 1026 | | |
1034 | 1027 | | |
1035 | 1028 | | |
| |||
1039 | 1032 | | |
1040 | 1033 | | |
1041 | 1034 | | |
1042 | | - | |
| 1035 | + | |
| 1036 | + | |
1043 | 1037 | | |
1044 | 1038 | | |
1045 | 1039 | | |
1046 | 1040 | | |
1047 | 1041 | | |
1048 | 1042 | | |
1049 | | - | |
| 1043 | + | |
1050 | 1044 | | |
1051 | 1045 | | |
1052 | 1046 | | |
1053 | 1047 | | |
1054 | 1048 | | |
1055 | 1049 | | |
1056 | 1050 | | |
1057 | | - | |
| 1051 | + | |
1058 | 1052 | | |
1059 | 1053 | | |
1060 | 1054 | | |
| |||
0 commit comments