MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / create_commit

Function create_commit

deploy.py:74–82  ·  view source on GitHub ↗
(repo, msg)

Source from the content-addressed store, hash-verified

72ver_str = '.'.join (ver)
73
74def create_commit(repo, msg):
75 index = repo.index
76 index.add_all ()
77 index.write ()
78 config = Config.get_global_config()
79 author = Signature(config['user.name'], config['user.email'])
80 commiter = author
81 tree = index.write_tree()
82 repo.create_commit ('HEAD', author, commiter, msg, tree, [repo.head.target])
83
84def add_version_commit():
85 repo = Repository (script_dir)

Callers 2

add_version_commitFunction · 0.85
deploy.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected