aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@osdl.org>2006-02-28 11:26:21 -0800
committerJunio C Hamano <junkio@cox.net>2006-02-28 14:49:32 -0800
commitf67b45f862d17b54037b9b59eefc385624d1fa83 (patch)
tree072f8159ea1d9c39899e7644f251d250de5c976f /cache.h
parenta4a88b2bab3b6fb0b30f63418701f42388e0fe0a (diff)
downloadgit-f67b45f862d17b54037b9b59eefc385624d1fa83.tar.gz
git-f67b45f862d17b54037b9b59eefc385624d1fa83.tar.xz
Introduce trivial new pager.c helper infrastructure
This introduces the new function void setup_pager(void); to set up output to be written through a pager applocation. All in preparation for doing the simple scripts in C. Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 58eec00e0..3af6b868e 100644
--- a/cache.h
+++ b/cache.h
@@ -352,4 +352,7 @@ extern int copy_fd(int ifd, int ofd);
extern int receive_unpack_pack(int fd[2], const char *me, int quiet);
extern int receive_keep_pack(int fd[2], const char *me, int quiet);
+/* pager.c */
+extern void setup_pager(void);
+
#endif /* CACHE_H */