ForNeVeR / ForNeVeR/git-submerge

Remove .gitmodules if it was created in the same commit that introduced the submodule

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Description

If the `.gitmodule` file was created in the same commit that first mentions submodule we're currently merging, `.gitmodules`should be removed. The rationale: if the user didn't have it and Git created it for them, the user probably didn't care about the file at all, and would not have created it manually on this commit. (Generally we can't assume that the user didn't create something on a whim, but in this case I think we can be pretty sure.)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.