summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7fa8ddd)
raw | patch | inline | side by side (parent: 7fa8ddd)
author | Nick Hengeveld <nickh@reactrix.com> | |
Tue, 4 Apr 2006 17:11:29 +0000 (10:11 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 4 Apr 2006 21:42:47 +0000 (14:42 -0700) |
Useful for diagnostics/troubleshooting to know which client versions are
hitting your server.
Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
hitting your server.
Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile | patch | blob | history | |
http.c | patch | blob | history |
diff --git a/Makefile b/Makefile
index c79d64623a156d6f5281c0ac69703240124b5105..145099adaae0a8aeb55a7ea9a0f4b07799e026ec 100644 (file)
--- a/Makefile
+++ b/Makefile
exec_cmd.o: exec_cmd.c
$(CC) -o $*.o -c $(ALL_CFLAGS) '-DGIT_EXEC_PATH="$(gitexecdir_SQ)"' $<
+http.o: http.c
+ $(CC) -o $*.o -c $(ALL_CFLAGS) -DGIT_USER_AGENT='"git/$(GIT_VERSION)"' $<
+
git-%$X: %.o $(GITLIBS)
$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS)