Merge branch 'jk/pager-with-external-command'

* jk/pager-with-external-command:
  support pager.* for external commands
This commit is contained in:
Junio C Hamano
2011-08-28 21:19:25 -07:00
2 changed files with 38 additions and 0 deletions

2
git.c
View File

@ -473,6 +473,8 @@ static void execv_dashed_external(const char **argv)
const char *tmp;
int status;
if (use_pager == -1)
use_pager = check_pager_config(argv[0]);
commit_pager_choice();
strbuf_addf(&cmd, "git-%s", argv[0]);