From 75b6a9d8c54b41b984a814496da7227e110f8f65 Mon Sep 17 00:00:00 2001 From: Tyler Rick Date: Thu, 18 Sep 2008 00:58:49 -0700 Subject: [PATCH] Fixed redirects so they work on Linux. --- lib/braid/operations.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/braid/operations.rb b/lib/braid/operations.rb index 0731c7f..f291c1e 100644 --- a/lib/braid/operations.rb +++ b/lib/braid/operations.rb @@ -131,7 +131,7 @@ def commit(message, *args) def fetch(remote) # open4 messes with the pipes of index-pack - system("git fetch -n #{remote} &> /dev/null") + system("git fetch -n #{remote} 2>&1 >/dev/null") raise ShellExecutionError, "could not fetch" unless $? == 0 true end @@ -256,7 +256,7 @@ def commit_hash(remote, revision) def fetch(remote) # open4 messes with the pipes of index-pack - system("git svn fetch #{remote} &> /dev/null") + system("git svn fetch #{remote} 2>&1 >/dev/null") raise ShellExecutionError, "could not fetch" unless $? == 0 true end