mirror of
https://github.com/git/git.git
synced 2025-03-21 01:05:50 +00:00
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>
This commit is contained in:
parent
69310a34cb
commit
e99fcf96de
3
Makefile
3
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user