Skip to content

Commit

Permalink
Merge branch 'fix'
Browse files Browse the repository at this point in the history
* fix:
  git-log produces no output
  • Loading branch information
Junio C Hamano committed Apr 21, 2006
2 parents 3c144af + 34fd1c9 commit 2857551
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pager.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
static void run_pager(const char *pager)
{
execlp(pager, pager, NULL);
execl("/bin/sh", "sh", "-c", pager, NULL);
}

void setup_pager(void)
Expand Down Expand Up @@ -47,5 +48,6 @@ void setup_pager(void)

setenv("LESS", "-S", 0);
run_pager(pager);
die("unable to execute pager '%s'", pager);
exit(255);
}

0 comments on commit 2857551

Please sign in to comment.