From 5e5d7481af2cd048bfcc8a43a7023897632d2989 Mon Sep 17 00:00:00 2001 From: Hylke Date: Fri, 24 Jun 2011 23:43:11 +0100 Subject: [PATCH] git fetch all branches --- SparkleLib/Git/SparkleRepoGit.cs | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/SparkleLib/Git/SparkleRepoGit.cs b/SparkleLib/Git/SparkleRepoGit.cs index 741d014d..a2b0947c 100644 --- a/SparkleLib/Git/SparkleRepoGit.cs +++ b/SparkleLib/Git/SparkleRepoGit.cs @@ -118,20 +118,7 @@ namespace SparkleLib { public override bool SyncDown () { - // Check if note fetching is set up - SparkleGit git_config = new SparkleGit (LocalPath, "config --get remote.origin.fetch"); - git_config.Start (); - git_config.WaitForExit (); - - // Add configuration for note fetching if it's - // not there yet - if (git_config.ExitCode != 0) { - git_config = new SparkleGit (LocalPath, "config --add remote.origin.fetch +refs/notes/*:refs/notes/*"); - git_config.Start (); - git_config.WaitForExit (); - } - - SparkleGit git = new SparkleGit (LocalPath, "fetch -v origin master"); + SparkleGit git = new SparkleGit (LocalPath, "fetch -v"); git.Start (); git.WaitForExit ();