English
Related papers

Related papers: Generating Commit Messages from Git Diffs

200 papers

Commit messages play an important role in software maintenance and evolution. Nonetheless, developers often do not produce high-quality messages. A number of commit message generation methods have been proposed in recent years to address…

Software Engineering · Computer Science 2020-10-06 Khashayar Etemadi , Martin Monperrus

A commit message describes the main code changes in a commit and plays a crucial role in software maintenance. Existing commit message generation (CMG) approaches typically frame it as a direct mapping which inputs a code diff and produces…

Software Engineering · Computer Science 2025-07-24 Bo Xiong , Linghao Zhang , Chong Wang , Peng Liang

Committing to a version control system means submitting a software change to the system. Each commit can have a message to describe the submission. Several approaches have been proposed to automatically generate the content of such…

Software Engineering · Computer Science 2017-03-29 Siyuan Jiang , Collin McMillan

Commit messages are essential in software development as they serve to document and explain code changes. Yet, their quality often falls short in practice, with studies showing significant proportions of empty or inadequate messages. While…

Software Engineering · Computer Science 2025-07-16 Qunhong Zeng , Yuxia Zhang , Zexiong Ma , Bo Jiang , Ningyuan Sun , Klaas-Jan Stol , Xingyu Mou , Hui Liu

Commit messages play a key role in documenting the intent behind code changes. However, they are often low-quality, vague, or incomplete, limiting their usefulness. Commit Message Generation (CMG) aims to automatically generate descriptive…

Software Engineering · Computer Science 2026-04-28 Bo Xiong , Linghao Zhang , Zongen Ren , Chong Wang , Peng Liang

Commit messages are crucial in software development, supporting maintenance tasks and communication among developers. While Large Language Models (LLMs) have advanced Commit Message Generation (CMG) using various software contexts, some…

Software Engineering · Computer Science 2025-01-20 Jiawei Li , David Faragó , Christian Petrov , Iftekhar Ahmed

Commit messages are crucial in software development, supporting maintenance tasks and communication among developers. While Large Language Models (LLMs) have advanced Commit Message Generation (CMG) using various software contexts, some…

Software Engineering · Computer Science 2025-03-19 Jiawei Li , David Faragó , Christian Petrov , Iftekhar Ahmed

Commit messages provide descriptions of the modifications made in a commit using natural language, making them crucial for software maintenance and evolution. Recent developments in Large Language Models (LLMs) have led to their use in…

Software Engineering · Computer Science 2025-07-08 Aaron Imani , Iftekhar Ahmed , Mohammad Moshirpour

Commit messages play an important role in several software engineering tasks such as program comprehension and understanding program evolution. However, programmers neglect to write good commit messages. Hence, several Commit Message…

Software Engineering · Computer Science 2022-04-21 Samanta Dey , Venkatesh Vinayakarao , Monika Gupta , Sampath Dechu

State-of-the-art machine translation models are still not on par with human translators. Previous work takes human interactions into the neural machine translation process to obtain improved results in target languages. However, not all…

Computation and Language · Computer Science 2019-08-14 Rongxiang Weng , Hao Zhou , Shujian Huang , Lei Li , Yifan Xia , Jiajun Chen

We propose a novel task of jointly repairing program codes and generating commit messages. Code repair and commit message generation are two essential and related tasks for software development. However, existing work usually performs the…

Computation and Language · Computer Science 2021-09-28 Jiaqi Bai , Long Zhou , Ambrosio Blanco , Shujie Liu , Furu Wei , Ming Zhou , Zhoujun Li

Commit messages are the atomic level of software documentation. They provide a natural language description of the code change and its purpose. Messages are critical for software maintenance and program comprehension. Unlike documenting…

Software Engineering · Computer Science 2021-12-06 Eman Abdullah AlOmar , Jiaqian Liu , Kenneth Addo , Mohamed Wiem Mkaouer , Christian Newman , Ali Ouni , Zhe Yu

Commit messages are natural language descriptions of code changes, which are important for software evolution such as code understanding and maintenance. However, previous methods are trained on the entire dataset without considering the…

Software Engineering · Computer Science 2024-01-17 Wei Tao , Yucheng Zhou , Yanlin Wang , Hongyu Zhang , Haofen Wang , Wenqiang Zhang

Commit messages record code changes (e.g., feature modifications and bug repairs) in natural language, and are useful for program comprehension. Due to the frequent updates of software and time cost, developers are generally unmotivated to…

Software Engineering · Computer Science 2020-11-12 Shangqing Liu , Cuiyun Gao , Sen Chen , Lun Yiu Nie , Yang Liu

Applying machine learning to tasks that operate with code changes requires their numerical representation. In this work, we propose an approach for obtaining such representations during pre-training and evaluate them on two different…

Software Engineering · Computer Science 2021-07-12 Mikhail Pravilov , Egor Bogomolov , Yaroslav Golubev , Timofey Bryksin

In collaborative open-source development, the rationale for code changes is often captured in commit messages, making them a rich source of valuable information. However, research on rationale in commit messages remains limited. In this…

Software Engineering · Computer Science 2025-06-16 Mouna Dhaouadi , Bentley James Oakes , Michalis Famelis

The recently released ChatGPT has demonstrated surprising abilities in natural language understanding and natural language generation. Machine translation relies heavily on the abilities of language understanding and generation. Thus, in…

Computation and Language · Computer Science 2023-04-24 Yuan Gao , Ruili Wang , Feng Hou

Neural machine translation (NMT) methods developed for natural language processing have been shown to be highly successful in automating translation from one natural language to another. Recently, these NMT methods have been adapted to the…

Computation and Language · Computer Science 2023-05-24 Dharma KC , Clayton T. Morrison

Software repositories such as Git have become a relevant source of information for software engineer researcher. For instance, the detection of Commits that fulfill a given criterion (e.g., bugfixing commits) is one of the most frequent…

Software Engineering · Computer Science 2019-06-11 Matias Martinez , Martin Monperrus

Commit messages (CMs) are an essential part of version control. By providing important context in regard to what has changed and why, they strongly support software maintenance and evolution. But writing good CMs is difficult and often…

Software Engineering · Computer Science 2023-09-12 David Faragó , Michael Färber , Christian Petrov