{"thread":{"id":"2910","subject":"[PATCH] git-format-patch should show the correct version","startedAt":"2005-12-22T19:38:23Z","lastAt":"2005-12-22T19:38:23Z","messageCount":1,"participants":["Johannes Schindelin"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"13954","messageId":"Pine.LNX.4.63.0512222036460.31820@wbgn013.biozentrum.uni-wuerzburg.de","threadId":"2910","inReplyTo":null,"subject":"[PATCH] git-format-patch should show the correct version","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2005-12-22T19:38:23Z","receivedAt":"2005-12-22T19:38:23Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"\nWe want to record the version of the tools the patch was generated with. \nWhile these tools could be rebuilt, git-format-patch stayed the same and \nreport the wrong version.\n\nSigned-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>\n\n---\n\n Makefile |    3 +++\n 1 files changed, 3 insertions(+), 0 deletions(-)\n\nca85baee8d11e5c4c6de4678fecf311a029c1d7c\ndiff --git a/Makefile b/Makefile\nindex d35637c..5dec33a 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -406,6 +406,9 @@ $(patsubst %.py,%,$(SCRIPT_PYTHON)) : % \n git-cherry-pick: git-revert\n \tcp $< $@\n \n+# format-patch records GIT_VERSION\n+git-format-patch: Makefile\n+\n %.o: %.c\n \t$(CC) -o $*.o -c $(ALL_CFLAGS) $<\n %.o: %.S\n-- \n1.0.GIT\n"}]}