WizardMerge -- Save Us From Merging Without Any Clues

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhang, Qingyu, Li, Junzhe, Lin, Jiayi, Ding, Jie, Lin, Lanteng, Qian, Chenxiong
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913415897808896
author Zhang, Qingyu
Li, Junzhe
Lin, Jiayi
Ding, Jie
Lin, Lanteng
Qian, Chenxiong
author_facet Zhang, Qingyu
Li, Junzhe
Lin, Jiayi
Ding, Jie
Lin, Lanteng
Qian, Chenxiong
contents Modern software development necessitates efficient version-oriented collaboration among developers. While Git is the most popular version control system, it generates unsatisfactory version merging results due to textual-based workflow, leading to potentially unexpected results in the merged version of the project. Although numerous merging tools have been proposed for improving merge results, developers remain struggling to resolve the conflicts and fix incorrectly modified code without clues. We present WizardMerge, an auxiliary tool that leverages merging results from Git to retrieve code block dependency on text and LLVM-IR level and provide suggestions for developers to resolve errors introduced by textual merging. Through the evaluation, we subjected WizardMerge to testing on 227 conflicts within five large-scale projects. The outcomes demonstrate that WizardMerge diminishes conflict merging time costs, achieving a 23.85% reduction. Beyond addressing conflicts, WizardMerge provides merging suggestions for over 70% of the code blocks potentially affected by the conflicts. Notably, WizardMerge exhibits the capability to identify conflict-unrelated code blocks that require manual intervention yet are harmfully applied by Git during the merging.
format Preprint
id arxiv_https___arxiv_org_abs_2407_02818
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle WizardMerge -- Save Us From Merging Without Any Clues
Zhang, Qingyu
Li, Junzhe
Lin, Jiayi
Ding, Jie
Lin, Lanteng
Qian, Chenxiong
Software Engineering
Emerging Technologies
Programming Languages
D.2; D.3
Modern software development necessitates efficient version-oriented collaboration among developers. While Git is the most popular version control system, it generates unsatisfactory version merging results due to textual-based workflow, leading to potentially unexpected results in the merged version of the project. Although numerous merging tools have been proposed for improving merge results, developers remain struggling to resolve the conflicts and fix incorrectly modified code without clues. We present WizardMerge, an auxiliary tool that leverages merging results from Git to retrieve code block dependency on text and LLVM-IR level and provide suggestions for developers to resolve errors introduced by textual merging. Through the evaluation, we subjected WizardMerge to testing on 227 conflicts within five large-scale projects. The outcomes demonstrate that WizardMerge diminishes conflict merging time costs, achieving a 23.85% reduction. Beyond addressing conflicts, WizardMerge provides merging suggestions for over 70% of the code blocks potentially affected by the conflicts. Notably, WizardMerge exhibits the capability to identify conflict-unrelated code blocks that require manual intervention yet are harmfully applied by Git during the merging.
title WizardMerge -- Save Us From Merging Without Any Clues
topic Software Engineering
Emerging Technologies
Programming Languages
D.2; D.3
url https://arxiv.org/abs/2407.02818