Merge pull request #1875 from Ppjet6/prevent-interactive-editor

Prevent blocking on interactive $EDITOR
This commit is contained in:
Hylke Bons 2018-10-05 18:15:39 +01:00 committed by GitHub
commit cf313dce4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -434,7 +434,7 @@ namespace Sparkles.Git {
git = new GitCommand (LocalPath, "config core.ignorecase true");
git.StartAndWaitForExit ();
git = new GitCommand (LocalPath, "merge FETCH_HEAD");
git = new GitCommand (LocalPath, "merge --no-edit FETCH_HEAD");
git.StartInfo.RedirectStandardOutput = false;
string error_output = git.StartAndReadStandardError ();