MCPcopy Create free account
hub / github.com/AGWA/git-crypt / git_deconfig

Function git_deconfig

commands.cpp:143–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143static void git_deconfig (const std::string& name)
144{
145 std::vector<std::string> command;
146 command.push_back("git");
147 command.push_back("config");
148 command.push_back("--remove-section");
149 command.push_back(name);
150
151 if (!successful_exit(exec_command(command))) {
152 throw Error("'git config' failed");
153 }
154}
155
156static void configure_git_filters (const char* key_name)
157{

Callers 1

deconfigure_git_filtersFunction · 0.85

Calls 3

successful_exitFunction · 0.85
exec_commandFunction · 0.85
ErrorClass · 0.85

Tested by

no test coverage detected