summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f443455)
raw | patch | inline | side by side (parent: f443455)
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Mon, 10 Jul 2006 11:40:44 +0000 (13:40 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 10 Jul 2006 21:48:56 +0000 (14:48 -0700) |
On one of my systems, the linker is not intelligent enough to link with
pager.o (in libgit.a) when only the variable pager_in_use is needed. The
consequence is that the linker complains about an undefined variable. So,
put the variable into environment.o, where it is linked always.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
pager.o (in libgit.a) when only the variable pager_in_use is needed. The
consequence is that the linker complains about an undefined variable. So,
put the variable into environment.o, where it is linked always.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
environment.c | patch | blob | history | |
pager.c | patch | blob | history |
diff --git a/environment.c b/environment.c
index 43823ff7d650a95dbb06e74397bdc5b7e5c00528..97d42b172be5abbada30da97893c77e67a0bcde0 100644 (file)
--- a/environment.c
+++ b/environment.c
int shared_repository = PERM_UMASK;
const char *apply_default_whitespace = NULL;
int zlib_compression_level = Z_DEFAULT_COMPRESSION;
+int pager_in_use;
static char *git_dir, *git_object_dir, *git_index_file, *git_refs_dir,
*git_graft_file;