mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
fix(Repository): separated git dir for submodules
This commit is contained in:
parent
39e55a3f2d
commit
646a80a395
5 changed files with 93 additions and 77 deletions
|
@ -96,7 +96,7 @@ namespace SourceGit.UI {
|
|||
/// </summary>
|
||||
public void LoadMergeMessage() {
|
||||
if (string.IsNullOrEmpty(txtCommitMsg.Text)) {
|
||||
var mergeMsgFile = Path.Combine(Repo.Path, ".git", "MERGE_MSG");
|
||||
var mergeMsgFile = Path.Combine(Repo.GitDir, "MERGE_MSG");
|
||||
if (!File.Exists(mergeMsgFile)) return;
|
||||
|
||||
var content = File.ReadAllText(mergeMsgFile);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue