Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2016-09-13 06:23:40 +0300
committerJunio C Hamano <gitster@pobox.com>2016-09-14 01:45:45 +0300
commit01e7e90359aa6fa54d00201843e1bb5f02b632f5 (patch)
tree78a6330828669abe0e470cf780906c070549d8a5 /pager.c
parent28a4e580218b79dd5a7d55c2a30431469129321d (diff)
pager: remove obsolete comment
The comment at the top of pager.c claims that we've split the code out so that Windows can do something different. This dates back to f67b45f (Introduce trivial new pager.c helper infrastructure, 2006-02-28), because the original implementation used fork(). Later, we ended up sticking the Windows #ifdefs into this file anyway. And then even later, in ea27a18 (spawn pager via run_command interface, 2008-07-22) we unified the implementations. So these days this comment is really saying nothing at all. Let's drop it. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pager.c')
-rw-r--r--pager.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/pager.c b/pager.c
index 4bc048148e..70159b8858 100644
--- a/pager.c
+++ b/pager.c
@@ -6,11 +6,6 @@
#define DEFAULT_PAGER "less"
#endif
-/*
- * This is split up from the rest of git so that we can do
- * something different on Windows.
- */
-
static struct child_process pager_process = CHILD_PROCESS_INIT;
static void wait_for_pager(int in_signal)