def _SelectCatenate(globalConfig):
  try:
    return os.environ['GIT_CATENATE']
  except __HOLE__:
    pass

  pager = globalConfig.GetString('core.catenate')
  if pager:
    return pager

  try:
    return os.environ['CATENATE']
  except KeyError:
    pass

  return 'cat'
dataset/ETHPy150Open esrlabs/git-repo/portable.py/_SelectCatenate