Navigation Menu

Skip to content

Commit

Permalink
Fixed redirects so they work on Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerRick authored and cristibalan committed Oct 1, 2008
1 parent 235a4c7 commit 75b6a9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/braid/operations.rb
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 75b6a9d

Please sign in to comment.