Skip to content

Commit

Permalink
Makefile: add missing GIT-VERSION-FILE dependency
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Erik Faye-Lund authored and Junio C Hamano committed May 31, 2012
1 parent 8258858 commit 38475f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38475f9

Please sign in to comment.