mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-26 04:02:11 +01:00
add .changes diff to commit message again
This commit is contained in:
parent
3dca0702c5
commit
651d66afab
@ -5922,7 +5922,13 @@ def get_commit_message_template(pac):
|
||||
"""
|
||||
diff = []
|
||||
template = []
|
||||
files = [i for i in pac.todo if i.endswith('.changes') and pac.status(i) in ('A', 'M')]
|
||||
|
||||
if pac.todo:
|
||||
todo = pac.todo
|
||||
else:
|
||||
todo = pac.filenamelist + pac.filenamelist_unvers
|
||||
|
||||
files = [i for i in todo if i.endswith('.changes') and pac.status(i) in ('A', 'M')]
|
||||
|
||||
for filename in files:
|
||||
if pac.status(filename) == 'M':
|
||||
|
Loading…
x
Reference in New Issue
Block a user