DORMANTno replies

[PATCH] git-format-patch should show the correct version

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:15
Subsystem: kernel build + files below scripts/ (unless maintained elsewhere), the rest · Maintainers: Nathan Chancellor, Nicolas Schier, Linus Torvalds

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

---

 Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

ca85baee8d11e5c4c6de4678fecf311a029c1d7c
diff --git a/Makefile b/Makefile
index d35637c..5dec33a 100644
--- a/Makefile
+++ b/Makefile
@@ -406,6 +406,9 @@ $(patsubst %.py,%,$(SCRIPT_PYTHON)) : % 
 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
-- 
1.0.GIT
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help