| 192 | } |
| 193 | |
| 194 | static int parse_submodule_params(struct diff_options *options, const char *value) |
| 195 | { |
| 196 | if (!strcmp(value, "log")) |
| 197 | options->submodule_format = DIFF_SUBMODULE_LOG; |
| 198 | else if (!strcmp(value, "short")) |
| 199 | options->submodule_format = DIFF_SUBMODULE_SHORT; |
| 200 | else if (!strcmp(value, "diff")) |
| 201 | options->submodule_format = DIFF_SUBMODULE_INLINE_DIFF; |
| 202 | /* |
| 203 | * Please update $__git_diff_submodule_formats in |
| 204 | * git-completion.bash when you add new formats. |
| 205 | */ |
| 206 | else |
| 207 | return -1; |
| 208 | return 0; |
| 209 | } |
| 210 | |
| 211 | int git_config_rename(const char *var, const char *value) |
| 212 | { |
no outgoing calls
no test coverage detected