config: apply configured id style to commit_summary template

Thanks to 81af5f820b "repo: calculate shortest unique prefix separately for
commit/change", commit_id.shortest() now works even if the repo is MutableRepo.
This commit is contained in:
Yuya Nishihara 2023-02-14 14:16:00 +09:00
parent bc7ca03da4
commit 9c6fa67b86

View file

@ -1,7 +1,7 @@
# TODO: rename section to [templates]?
[template]
commit_summary = '''
commit_id.short() " "
format_short_id(commit_id) " "
if(description, description.first_line(), description_placeholder)
'''