Makefile: add missing GIT-VERSION-FILE dependency
authorErik Faye-Lund <kusmabite@gmail.com>
Thu, 31 May 2012 14:10:44 +0000 (16:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 31 May 2012 19:42:53 +0000 (12:42 -0700)
In 20fc9bc (Set HTTP user agent to git/GIT_VERSION, 2006-04-04),
http.o started recording GIT_VERSION, but http.o wasn't added
to the list of files that depends on GIT-VERSION-FILE.

Fix this, so mofications to GIT-VERSION-FILE will result in an
updated user-agent string.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index 5dbe4f7908fa9aabb7726756f10d2c16894432d0..ef1ad1b25e791a041211368a85986a362a335e12 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1874,7 +1874,7 @@ configure: configure.ac
        $(RM) $<+
 
 # These can record GIT_VERSION
-git.o git.spec \
+git.o git.spec http.o \
        $(patsubst %.sh,%,$(SCRIPT_SH)) \
        $(patsubst %.perl,%,$(SCRIPT_PERL)) \
        : GIT-VERSION-FILE