summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2005-12-22 19:38:23 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-12-22 20:52:29 (GMT)
commite99fcf96deab45ca81b22948328deb2d8586aa8d (patch)
treec74b96028e671a6511ad90b095637a9f85fe1c94
parent69310a34cb6dcca32b08cf3ea9e91ab19354a874 (diff)
downloadgit-e99fcf96deab45ca81b22948328deb2d8586aa8d.zip
git-e99fcf96deab45ca81b22948328deb2d8586aa8d.tar.gz
git-e99fcf96deab45ca81b22948328deb2d8586aa8d.tar.bz2
git-format-patch should show the correct version
We want to record the version of the tools the patch was generated with. While these tools could be rebuilt, git-format-patch stayed the same and report the wrong version. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e9bf860..dde8f33 100644
--- a/Makefile
+++ b/Makefile
@@ -397,6 +397,9 @@ $(patsubst %.py,%,$(SCRIPT_PYTHON)) : % : %.py
git-cherry-pick: git-revert
cp $< $@
+# format-patch records GIT_VERSION
+git-format-patch: Makefile
+
%.o: %.c
$(CC) -o $*.o -c $(ALL_CFLAGS) $<
%.o: %.S