diff options
author | Jeff King <peff@peff.net> | 2012-10-25 06:41:15 -0400 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2012-10-25 06:41:15 -0400 |
commit | 55ff63007509d075d32861ff48cc8bb57d445b2a (patch) | |
tree | 4322ea2d5cd79df612511a3606cc38698ca64480 /run-command.c | |
parent | 8c7a786b6c8eae8eac91083cdc9a6e337bc133b0 (diff) | |
parent | e8320f350f523c3219ff8ec639663193941af57d (diff) | |
download | git-55ff63007509d075d32861ff48cc8bb57d445b2a.tar.gz |
Merge branch 'jk/no-more-pre-exec-callback'
Removes a workaround for buggy version of less older than version
406.
* jk/no-more-pre-exec-callback:
pager: drop "wait for output to run less" hack
Diffstat (limited to 'run-command.c')
-rw-r--r-- | run-command.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/run-command.c b/run-command.c index 1101ef7237..3b982e4d55 100644 --- a/run-command.c +++ b/run-command.c @@ -397,16 +397,6 @@ fail_pipe: unsetenv(*cmd->env); } } - if (cmd->preexec_cb) { - /* - * We cannot predict what the pre-exec callback does. - * Forgo parent notification. - */ - close(child_notifier); - child_notifier = -1; - - cmd->preexec_cb(); - } if (cmd->git_cmd) { execv_git_cmd(cmd->argv); } else if (cmd->use_shell) { |