mirror of
https://github.com/trapexit/mergerfs.git
synced 2025-04-26 15:04:04 +08:00
Merge pull request #243 from trapexit/git2dbcl
fix printing of versions with no changes
This commit is contained in:
commit
b93783ede0
@ -113,9 +113,13 @@ def main():
|
|||||||
|
|
||||||
tag = tags[0]
|
tag = tags[0]
|
||||||
for prev in tags[1:]:
|
for prev in tags[1:]:
|
||||||
|
lines = git_log(tag[1],prev[1])
|
||||||
|
if lines == ['']:
|
||||||
|
tag = prev
|
||||||
|
continue
|
||||||
|
|
||||||
print('%s (%s) %s; urgency=%s\n' % (args.name,tag[0],args.codename,args.urgency))
|
print('%s (%s) %s; urgency=%s\n' % (args.name,tag[0],args.codename,args.urgency))
|
||||||
|
|
||||||
lines = git_log(tag[1],prev[1])
|
|
||||||
for line in lines:
|
for line in lines:
|
||||||
print " * " + line
|
print " * " + line
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user