From 55c4e5e32e203b67cf731838253352bf61d679fa Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Tue, 23 Jun 2020 17:18:03 +0200 Subject: [PATCH] sparkles git: Replace hardcoded 'master' string --- Sparkles/Git/Git.Repository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sparkles/Git/Git.Repository.cs b/Sparkles/Git/Git.Repository.cs index b7136fc7..dbebaa6d 100644 --- a/Sparkles/Git/Git.Repository.cs +++ b/Sparkles/Git/Git.Repository.cs @@ -178,7 +178,7 @@ namespace Sparkles.Git { string remote_revision = "" + output.Substring (0, 40); if (!remote_revision.Equals (current_revision)) { - git = new GitCommand (LocalPath, "merge-base " + remote_revision + " master"); + git = new GitCommand (LocalPath, "merge-base " + remote_revision + " " + this.branch); git.StartAndWaitForExit (); if (git.ExitCode != 0) {