sparkles git: Replace hardcoded 'master' string
This commit is contained in:
parent
c1b62da1c5
commit
55c4e5e32e
|
@ -178,7 +178,7 @@ namespace Sparkles.Git {
|
||||||
string remote_revision = "" + output.Substring (0, 40);
|
string remote_revision = "" + output.Substring (0, 40);
|
||||||
|
|
||||||
if (!remote_revision.Equals (current_revision)) {
|
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 ();
|
git.StartAndWaitForExit ();
|
||||||
|
|
||||||
if (git.ExitCode != 0) {
|
if (git.ExitCode != 0) {
|
||||||
|
|
Loading…
Reference in a new issue