Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Mar 13, 2008
  1. @peff @gitster

    more tr portability test script fixes

    peff authored gitster committed
    Dealing with NULs is not always safe with tr. On Solaris,
    incoming NULs are silently deleted by both the System V and
    UCB versions of tr. When converting to NULs, the System V
    version works fine, but the UCB version silently ignores the
    request to convert the character.
    This patch changes all instances of tr using NULs to use
    "perl -pe 'y///'" instead.
    Signed-off-by: Jeff King <>
    Signed-off-by: Junio C Hamano <>
Something went wrong with that request. Please try again.