From: Jeff King Date: Wed, 20 Jun 2012 18:31:51 +0000 (-0400) Subject: Makefile: split GIT_USER_AGENT from GIT-CFLAGS X-Git-Tag: v1.7.12-rc0~29^2~7 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/620c293abdc36f3db18edd61a622eae30f01ce8e?hp=620c293abdc36f3db18edd61a622eae30f01ce8e Makefile: split GIT_USER_AGENT from GIT-CFLAGS The default user-agent depends on the GIT_VERSION, which means that anytime you switch versions, it causes a full rebuild. Instead, let's split it out into its own file and restrict the dependency to version.o. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano ---