From Commit Message Generation to History-Aware Commit Message Completion
Aleksandra Eliseeva, Yaroslav Sokolov, Egor Bogomolov, Yaroslav Golubev, Danny Dig, and Timofey Bryksin
September, 2023. Published in the proceedings of ASE'23 (A*).
Abstract. Commit messages are crucial to software development, allowing developers to track changes and collaborate effectively. Despite their utility, most commit messages lack important information since writing high-quality commit messages is tedious and time-consuming. The active research on commit message generation (CMG) has not yet led to wide adoption in practice. We argue that if we could shift the focus from commit message generation to commit message completion and use previous commit history as additional context, we could significantly improve the quality and the personal nature of the resulting commit messages.
In this paper, we propose and evaluate both of these novel ideas. Since the existing datasets lack historical data, we collect and share a novel dataset called CommitChronicle, containing 10.7M commits across 20 programming languages. We use this dataset to evaluate the completion setting and the usefulness of the historical context for state-of-the-art CMG models and GPT-3.5-turbo. Our results show that in some contexts, commit message completion shows better results than generation, and that while in general GPT-3.5-turbo performs worse, it shows potential for long and detailed messages. As for the history, the results show that historical information improves the performance of CMG models in the generation task, and the performance of GPT-3.5-turbo in both generation and completion.
Paper Pre-print DataCiting publications
- Automated Generation of High-Quality Commit Messages Aligning with Human Expectations
J Li · 2026 - HARE: History-aware Repository-Level Memory Retrieval for Conventional Commit Header Generation
P Lan, Y Deng, R Deng, Y Fang, K Wang · Proceedings of the 35th … · 2026 - Boosting commit classification with contrastive learning
J Tong, Z Wang, X Rui · Journal of Systems and Software · 2026 - Agentic Repository Mining: A Multi-Task Evaluation
J Härtel · arXiv preprint arXiv:2605.04845 · 2026 - Verity: A Framework to Generate Privacy Captions from Android Source Code using LLMs
V Jain, S Ghanavati, ST Peddinti · 2026 IEEE International … · 2026 - ComBeautify: Leveraging Code Change Summaries for Conventional Commit Generation
R Raj, A Tandon, N Matyunin, J Patra · arXiv preprint arXiv:2610.34374 · 2026 - Git History Is a Pangenome: Repetition in Code Training Corpora and What Deduplication Removes, Keeps and Misses
S Chopra · arXiv preprint arXiv:2611.27154 · 2026 - AtomicCommitBench: Can Coding Agents Reconstruct Commit Histories from Squashed Patches?
Z Lin, M Zhou, L Li · arXiv preprint arXiv:2607.03332 · 2026 - CommitSuite: A Comprehensive Benchmark for Commit Classification and Message Generation
Z Wan, Z Wu, X Hou, Y Zhao, P Xia, H Wang · arXiv preprint arXiv … · 2026 - CCMG: Enhancing Conventional Commit Message Generation with Hierarchical Context
W Li, C Liu, Y Zhang, X Lin, S Wang · IEEE Transactions … · 2026 - Learning From Humans: Automated Commit Message Generation Leveraging Human-written Commit Message and Context
J Li, D Faragó, C Petrov, I Ahmed · IEEE Transactions on … · 2026 - Why Are My Pull Request Descriptions Constantly Revised? Understanding Modifying Descriptions and Reviewer Suggestions
J Jiang, H Chen, X Tan, Z Liu, L Zhang · ACM Transactions on Software … · 2026 - Silence of Commit Messages: An Empirical Study for Vulnerability Commit Message Generation using Large Language Models
H Shen, M Hu, J Li, X Xie, M Chen · Proceedings of the ACM on Software … · 2026 - Automated Generation of Accurate Privacy Captions From Android Source Code Using Large Language Models
V Jain, S Ghanavati, ST Peddinti · arXiv preprint arXiv … · 2026 - ChangeWiki: Repository-Level Change Summarization Augmented with Architecture Semantics
Z Wang, W Jin, J Li, Z Mou, T Liu · Proceedings of the 41st IEEE/ACM … · 2026 - ReleaseEval: A benchmark for evaluating language models in automated release note generation
Q Meng, Z Ren, J Visser · Findings of the Association for … · 2026 - XSearch: Explainable Code Search via Concept-to-Code Alignment
Y Liu, R Liu, Y Lin, Z Zhang, W Kong, P Qi · Proceedings of the … · 2026 - Code change characteristics and description alignment: A comparative study of agentic versus human pull requests
D Pham, TA Ghaleb · Proceedings of the 23rd International Conference … · 2026 - Do advanced language models eliminate the need for prompt engineering in software engineering?
G Wang, Z Sun, S Ye, Z Gong, Y Chen, Y Zhao · ACM Transactions on … · 2026 - Towards an understanding of context utilization in code intelligence
Y Wang, K Duan, D Zheng, E Shi, F Zhang · ACM Computing … · 2026 - Challenge on Optimization of Context Collection for Code Completion at ASE 2025
D Ustalov, E Bogomolov, A Bezzubov · ACM SIGSOFT … · 2026 - Delving into History: Retrieve Less but Augment More on Commit Message Generation
P Lan, J Liu, X Zhong, N Gui, L Bao, D Lo · ACM Transactions on … · 2026 - Сбор и анализ датасета для задачи автоматической генерации сообщений коммитов
ИА Косьяненко, РГ Болбаков · Russian Technological Journal · 2025 - Source Code Change Vectorization Using Additive-Subtractive Embeddings
IA Kosyanenko · International Journal of Open Information Technologies · 2025 - SECMG: Style Enhancement Commit Message Generation
Z Liao, W Liu, P Lan · 2025 International Joint Conference on … · 2025 - Векторизация изменений в программном коде с использованием аддитивно-субстрактивных эмбеддингов
ИА Косьяненко · International Journal of Open Information … · 2025 - Identifier Name Similarities: An Exploratory Study
C Wong, M Abe, S De Benedictis · 2025 ACM/IEEE … · 2025 - Swiftcommit: Integration of Commit Summary Generator Into Version Control Workflow
GAM Braga, MSS Jauhari, AS Manolis · 2025 17th … · 2025 - Gated transformer network for multivariate security patch identification with mixture-of-experts
J Tong, Z Wang, X Rui · Information and Software Technology · 2025 - DocFetch-Towards Generating Software Documentation from Multiple Software Artifacts
ASM Venigalla, S Chimalakonda · arXiv preprint arXiv:2508.17719 · 2025 - LibRec: Benchmarking Retrieval-Augmented LLMs for Library Migration Recommendations
J Han, Y Wang, X Gu, C Gao, Y Wan, S Han · arXiv preprint arXiv … · 2025 - GitGoodBench: A novel benchmark for evaluating agentic performance on Git
T Lindenbauer, E Bogomolov · Proceedings of the 1st … · 2025 - Automated description generation for software patches
TT Vu, TD Bui, TD Do, TT Nguyen, HD Vo · Information and Software … · 2025 - Optimization is better than generation: Optimizing commit message leveraging human-written commit message
J Li, D Faragó, C Petrov, I Ahmed · arXiv preprint arXiv:2501.09861 · 2025 - An empirical validation of open source repository stability metrics
EK Adejumo, B Johnson · arXiv preprint arXiv:2508.01358 · 2025 - CodeFuse-CommitEval: Towards Benchmarking LLM's Power on Commit Message and Code Change Inconsistency Detection
Q Zhang, P Liu, P Di, C Qian · arXiv preprint arXiv:2511.19875 · 2025 - Is it hard to generate holistic commit message?
G Wang, Z Sun, J Dong, Y Zhang, M Zhu · ACM Transactions on … · 2025 - Obscuracoder: Powering efficient code LM pre-training via obfuscation grounding
I Paul, H Yang, G Glavaš, K Kersting · International … · 2025 - A first look at conventional commits classification
Q Zeng, Y Zhang, Z Qiu, H Liu · 2025 IEEE/ACM 47th … · 2025 - An empirical study on commit message generation using llms via in-context learning
Y Wu, Y Wang, Y Li, W Tao, S Yu · 2025 IEEE/ACM 47th … · 2025 - Laura: Enhancing code review generation with context-enriched retrieval-augmented llm
Y Zhang, Y Zhang, Z Sun, Y Jiang · 2025 40th IEEE/ACM … · 2025 - Towards Realistic Evaluation of Commit Message Generation by Matching Online and Offline Settings
P Tsvetkov, A Eliseeva, D Dig · 2025 IEEE/ACM 47th … · 2025 - Challenge on Optimization of Context Collection for Code Completion
D Ustalov, E Bogomolov, A Bezzubov · 2025 40th IEEE/ACM … · 2025 - Diff-XYZ: A Benchmark for Evaluating Diff Understanding
E Glukhov, M Conti, E Bogomolov, Y Golubev · arXiv preprint arXiv … · 2025 - Unstructuring the sequentiality of commits intoa semantic network with higher informational and functional quality
M Patricio, M Sousa, P Matos · … on Engineering and … · 2024 - Commit artifact preserving build prediction
G Wang, Z Sun, Y Chen, Y Zhao, Q Liang · Proceedings of the 33rd … · 2024 - Exploring the impact of code review factors on the code review comment generation
J Lu, Z Li, C Shen, L Yang, C Zuo · Automated Software Engineering · 2024 - Hidden in the code: Visualizing true developer identities
S Campanella, M Lanza · 2024 IEEE Working Conference on … · 2024 - Commitbench: A benchmark for commit message generation
M Schall, T Czinczoll, G De Melo · 2024 IEEE International … · 2024 - Commit message generation via chatgpt: How far are we?
Y Wu, Y Li, S Yu · Proceedings of the 2024 IEEE/ACM First International … · 2024 - Context conquers parameters: Outperforming proprietary llm in commit message generation
A Imani, I Ahmed, M Moshirpour · arXiv preprint arXiv:2408.02502 · 2024 - Kadel: Knowledge-aware denoising learning for commit message generation
W Tao, Y Zhou, Y Wang, H Zhang, H Wang · ACM Transactions on … · 2024 - Automatic smart contract comment generation via large language models and in-context learning
J Zhao, X Chen, G Yang, Y Shen · Information and Software Technology · 2024 - Ircoder: Intermediate representations make language models robust multilingual code generators
I Paul, G Glavaš, I Gurevych · … of the 62nd Annual Meeting of the … · 2024 - Automated commit message generation with large language models: An empirical study and beyond
P Xue, L Wu, Z Yu, Z Jin, Z Yang, X Li · IEEE Transactions … · 2024 - Next-generation refactoring: Combining llm insights and ide capabilities for extract method
D Pomian, A Bellur, M Dilhara · 2024 IEEE … · 2024 - Long code arena: a set of benchmarks for long-context code models
E Bogomolov, A Eliseeva, T Galimzyanov · arXiv preprint arXiv … · 2024 - A survey of neural code intelligence: Paradigms, advances and beyond
Q Sun, Z Chen, F Xu, K Cheng, C Ma, Z Yin · arXiv preprint arXiv … · 2024 - ismell: Assembling llms with expert toolsets for code smell detection and refactoring
D Wu, F Mu, L Shi, Z Guo, K Liu, W Zhuang · Proceedings of the 39th … · 2024 - Unprecedented code change automation: The fusion of llms and transformation by example
M Dilhara, A Bellur, T Bryksin, D Dig · Proceedings of the ACM on … · 2024 - Unifying the perspectives of nlp and software engineering: A survey on language models for code
Z Zhang, C Chen, B Liu, C Liao, Z Gong, H Yu · arXiv preprint arXiv … · 2023 - Large Language Models Meet Commit Message Generation: An Empirical Study
Y Tang - CommitMessageGen-Agent: A Dependable Multi-Agent Approach for Reproducible Commit Message Generation
D An, G Yang · Available at SSRN 5871505
