Back to search

University of Akron

Merge Commit Contributions in Git Repositories

Abstract

dc:description

Git’s non-linear historical graph is analyzed for the presence of merge commitsand the contribution of merge conflicts to the source code. Git’s distributed version control model encourages parallel development by providing light-weight branching. This creates a need to integrate new changes from separate branches into main development branches using Git’s merge facilities. It is hypothesized that the role of merge commits is primarily that of historical unifier and as such do not regularly contribute new code changes in the commits they generate. To this end new metrics were defined using differencing data associated with merge commits to formally analyze code contributions of merge commits. An empirical study of 23 open-source repositories was performed and a tool, Grim, was developed to collect the necessary historical and commit metadata from each repository. It was found that merge commits represent less that 20% of the overall history of a project for a majority of the repositories, and merge conflicts appear even less frequently at around 10%. Merges with conflicts make up around 20% of merges for most of the repositories and the source code contributions made by merge commits most often involves a reorganization of existing changes and not the addition of new source code changes.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
masters
Discipline thesis:degree_discipline
Computer Science
Grantor dc:publisher
University of Akron
Year dc:date
2015

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Guarnera, Drew T.
Advisor dc:contributor.advisor
  • Collard, Michael

Subjects

dc:subject × 11

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Guarnera, Drew T.. Merge Commit Contributions in Git Repositories. masters thesis, University of Akron, 2015. http://rave.ohiolink.edu/etdc/view?acc_num=akron1436528894