From e99fcf96deab45ca81b22948328deb2d8586aa8d Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Thu, 22 Dec 2005 20:38:23 +0100 Subject: [PATCH] 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 Signed-off-by: Junio C Hamano --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index e9bf860f..dde8f331 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 -- 2.11.0