Skip to content
  • Jeff King's avatar
    pager: drop "wait for output to run less" hack · e8320f35
    Jeff King authored and Junio C Hamano's avatar Junio C Hamano committed
    Commit 35ce8622
    
     (pager: Work around window resizing bug in
    'less', 2007-01-24) causes git's pager sub-process to wait
    to receive input after forking but before exec-ing the
    pager. To handle this, run-command had to grow a "pre-exec
    callback" feature. Unfortunately, this feature does not work
    at all on Windows (where we do not fork), and interacts
    poorly with run-command's parent notification system. Its
    use should be discouraged.
    
    The bug in less was fixed in version 406, which was released
    in June 2007. It is probably safe at this point to remove
    our workaround. That lets us rip out the preexec_cb feature
    entirely.
    
    Signed-off-by: default avatarJeff King <peff@peff.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    e8320f35