MCPcopy Create free account
hub / github.com/ElementsProject/lightning / get_commit_range

Function get_commit_range

devtools/changelog.py:35–40  ·  view source on GitHub ↗

Find a commit range that we should collect the CHANGELOG for.

()

Source from the content-addressed store, hash-verified

33
34
35def get_commit_range():
36 """Find a commit range that we should collect the CHANGELOG for.
37 """
38 description = git("describe")
39 version = description.split('-')[0]
40 return "{version}..HEAD".format(version=version)
41
42
43def get_log_entries(commitrange):

Callers 1

changelog.pyFile · 0.85

Calls 1

gitFunction · 0.85

Tested by

no test coverage detected