@_git_check
def set_jigconfig(gitrepo, config=None):
    # If it's already initialized, refuse to run
    if not repo_jiginitialized(gitrepo):
        raise GitRepoNotInitialized('The repository has not been initialized.')

    # Create the container for all things jig
    jig_dir = join(gitrepo, JIG_DIR_NAME)

    # Create an empty config parser if we were not passed one
    plugins = config if config else SafeConfigParser()

    # Create a plugin list file
    with open(join(jig_dir, JIG_PLUGIN_CONFIG_FILENAME), 'w') as fh:
        plugins.write(fh)

        return plugins
Split the given data into the headers as specified in the given
dataset/ETHPy150Open robmadole/jig/src/jig/plugins/tools.py/set_jigconfig--crossover with--dataset/ETHPy150Open dustin/memcached-test/testServer.py/BaseBackend._splitKeys