首页> 外文会议>IEEE International Symposium on Software Reliability Engineering >Understanding Merge Conflicts and Resolutions in Git Rebases
【24h】

Understanding Merge Conflicts and Resolutions in Git Rebases

机译:了解Git Rebase中的合并冲突和解决方案

获取原文

摘要

Software merging is an important activity during software development. Merge conflicts may arise and degrade the software quality. Empirical studies on software merging are helpful to understand developers’ needs and the challenges of detecting and resolving conflicts. Existing studies collect merges by identifying commits that have more than one parent commit. Different from these explicit merges, rebasing branches is used to merge other changes but rewrites the evolutionary history. Hence, existing studies fail to identify implicit merges performed by rebasing branches. Consequently, the results of these studies may fail to provide comprehensive insights on software merging. In our study, we leverage the recently updated APIs of GitHub to study rebase activities in the pull requests. Our study shows that rebasing is widely used in pull requests. And our results indicate that, to resolve textual conflicts, developers adopt similar strategies shown in existing studies on explicit merges. However, in 34.2% of non-conflict rebase scenarios, developers add new changes during the rebase process. And this indicates that there are some new challenges of validating rebases. Our results provide useful insights for improving the state-of-the-art techniques on resolving conflicts and validating rebases.
机译:软件合并是软件开发过程中的重要活动。合并冲突可能会出现并降低软件质量。关于软件合并的经验研究有助于理解开发人员的需求以及发现和解决冲突的挑战。现有研究通过识别具有多个父提交的提交来收集合并。与这些显式合并不同,重定基础分支用于合并其他更改,但重写了演化历史。因此,现有研究未能确定由重新定基分支机构执行的隐式合并。因此,这些研究的结果可能无法提供有关软件合并的全面见解。在我们的研究中,我们利用GitHub的最新更新的API来研究请求请求中的变基活动。我们的研究表明,在请求请求中广泛使用了变基。我们的结果表明,为了解决文本冲突,开发人员在现有研究中对显式合并采用了类似的策略。但是,在34.2%的非冲突基准变更方案中,开发人员在基准变更过程中添加了新的更改。这表明验证基准库存在一些新的挑战。我们的结果为改进解决冲突和验证基础的最新技术提供了有用的见识。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号