<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -175,7 +175,7 @@ module Cheat
 
     unless Kernel.fork # Child process
       STDOUT.reopen(write)
-      STDERR.reopen(write)
+      STDERR.reopen(write) if STDERR.tty?
       read.close
       write.close
       return</diff>
      <filename>lib/cheat.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b35f2288ee74bf15286faafd76297a94cebafeb3</id>
    </parent>
  </parents>
  <author>
    <name>Kevin Ballard</name>
    <email>kevin@sb.org</email>
  </author>
  <url>http://github.com/nex3/cheat/commit/38ba215cc73450005e8fc6ae3e91554cbff486d5</url>
  <id>38ba215cc73450005e8fc6ae3e91554cbff486d5</id>
  <committed-date>2008-03-18T22:33:53-07:00</committed-date>
  <authored-date>2008-03-18T22:33:53-07:00</authored-date>
  <message>Only redirect STDERR to the pager if it's a tty</message>
  <tree>25dbef90aeaca03901698e9155ea7a9e24b820f4</tree>
  <committer>
    <name>Kevin Ballard</name>
    <email>kevin@sb.org</email>
  </committer>
</commit>
