@matheusbsbs / matheus-bagliano / commits / e99fcf96de
Fork 0

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>

Johannes Schindelin committed Dec 22, 2005 at 20:38 UTC e99fcf96deab45ca81b22948328deb2d8586aa8d
1 file changed +3
Makefile
+3
@@ -397,6 +397,9 @@ $(patsubst %.py,%,$(SCRIPT_PYTHON)) : % : %.py
397 git-cherry-pick: git-revert
398 cp $< $@
399
400 +# format-patch records GIT_VERSION
401 +git-format-patch: Makefile
402 +
403 %.o: %.c
404 $(CC) -o $*.o -c $(ALL_CFLAGS) $<
405 %.o: %.S