We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bc938a commit 807cfa2Copy full SHA for 807cfa2
src/subcommand/config_subcommand.cpp
@@ -43,7 +43,7 @@ void config_subcommand::run_list()
43
throw_if_error(git_config_iterator_new(&iter, cfg));
44
45
git_config_entry* entry;
46
- while (git_config_next(&entry, iter))
+ while (git_config_next(&entry, iter) == GIT_OK)
47
{
48
std::cout << entry->name << "=" << entry->value << std::endl;
49
}
0 commit comments