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