aboutsummaryrefslogtreecommitdiff
path: root/test-revision-walking.c
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-09-11 17:45:30 +0200
committerJunio C Hamano <gitster@pobox.com>2012-09-11 10:24:39 -0700
commit40bfbde9da5c6cbc85f49a755f27162dc966fd89 (patch)
tree2706e7d6158feb1a5827b4513dff5f023425698b /test-revision-walking.c
parent3a34c2bf6267a5198e926943f68023ad80c34d3d (diff)
downloadgit-40bfbde9da5c6cbc85f49a755f27162dc966fd89.tar.gz
git-40bfbde9da5c6cbc85f49a755f27162dc966fd89.tar.xz
build: don't duplicate substitution of make variables
Thanks to our 'GIT_CONF_SUBST' layer in configure.ac, a make variable 'VAR' can be defined to a value 'VAL' at ./configure runtime in our build system simply by using "GIT_CONF_SUBST([VAR], [VAL])" in configure.ac, rather than having both to call "AC_SUBST([VAR], [VAL])" in configure.ac and adding the 'VAR = @VAR@' definition in config.mak.in. Less duplication, less margin for error, less possibility of confusion. While at it, fix some formatting issues in configure.ac that unnecessarily obscured the code flow. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-revision-walking.c')
0 files changed, 0 insertions, 0 deletions