Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 29, 2012
  1. @pclouds @peff

    Move setup_diff_pager to libgit.a

    pclouds authored peff committed
    This is used by diff-no-index.c, part of libgit.a while it stays in
    builtin/diff.c. Move it to diff.c so that we won't get undefined
    reference if a program that uses libgit.a happens to pull it in.
    While at it, move check_pager from git.c to pager.c. It makes more
    sense there and pager.c is also part of libgit.a
    Signed-off-by: Nguyễn Thái Ngọc Duy <>
    Signed-off-by: Jeff King <>
Commits on Apr 27, 2012
  1. @pclouds @gitster

    Stop starting pager recursively

    pclouds authored gitster committed
    git-column can be used as a pager for other git commands, something
    like this:
        GIT_PAGER="git -p column --mode='dense color'" git -p branch
    The problem with this is that "git -p column" also has $GIT_PAGER set so
    the pager runs itself again as another pager. The end result is an
    infinite loop of forking. Other git commands have the same problem if
    being abused this way.
    Check if $GIT_PAGER is already set and stop launching another pager.
    Signed-off-by: Nguyễn Thái Ngọc Duy <>
    Signed-off-by: Junio C Hamano <>
Something went wrong with that request. Please try again.