summaryrefslogtreecommitdiff
path: root/tool/redmine-backporter.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2024-05-29 10:33:20 -0700
committerTakashi Kokubun <[email protected]>2024-05-29 10:39:32 -0700
commita760e21bc122c67478b318b3f032d70fac1a6077 ()
tree6e9f61ed4db40429a6d655be511d043a18a12bbc /tool/redmine-backporter.rb
parenta3edc4abc574b04bcacfae2af188cce7d27bfcf1 (diff)
Sort backport revisions by commit timestamps
-rwxr-xr-xtool/redmine-backporter.rb4
1 files changed, 3 insertions, 1 deletions
@@ -191,10 +191,12 @@ def backport_command_string
# check if the Git revision is included in master
has_commit(c, "master")
end
@changesets.define_singleton_method(:validated){true}
end
- "#{merger_path} --ticket=#{@issue} #{@changesets.sort.join(',')}"
end
def status_char(obj)