| 981 | } |
| 982 | |
| 983 | int config_set_in_gitmodules_file_gently(const char *key, const char *value) |
| 984 | { |
| 985 | int ret; |
| 986 | |
| 987 | ret = repo_config_set_in_file_gently(the_repository, GITMODULES_FILE, key, NULL, value); |
| 988 | if (ret < 0) |
| 989 | /* Maybe the user already did that, don't error out here */ |
| 990 | warning(_("Could not update .gitmodules entry %s"), key); |
| 991 | |
| 992 | return ret; |
| 993 | } |
| 994 | |
| 995 | struct fetch_config { |
| 996 | int *max_children; |