Johannes Schindelin  committed e99fcf9

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 <>

  • Participants
  • Parent commits 69310a3
  • Branches master

Comments (0)

Files changed (1)

 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