Record which tree the patch applies to.
Also note which version of GIT produced the patch. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
a567d3154e
commit
3ff8cbeda6
11
Makefile
11
Makefile
@ -306,19 +306,24 @@ git: git.sh Makefile
|
|||||||
|
|
||||||
$(filter-out git,$(patsubst %.sh,%,$(SCRIPT_SH))) : % : %.sh
|
$(filter-out git,$(patsubst %.sh,%,$(SCRIPT_SH))) : % : %.sh
|
||||||
rm -f $@
|
rm -f $@
|
||||||
sed -e '1s|#!.*/sh|#!$(SHELL_PATH)|' $@.sh >$@
|
sed -e '1s|#!.*/sh|#!$(SHELL_PATH)|' \
|
||||||
|
-e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
|
||||||
|
$@.sh >$@
|
||||||
chmod +x $@
|
chmod +x $@
|
||||||
|
|
||||||
$(patsubst %.perl,%,$(SCRIPT_PERL)) : % : %.perl
|
$(patsubst %.perl,%,$(SCRIPT_PERL)) : % : %.perl
|
||||||
rm -f $@
|
rm -f $@
|
||||||
sed -e '1s|#!.*perl|#!$(PERL_PATH)|' $@.perl >$@
|
sed -e '1s|#!.*perl|#!$(PERL_PATH)|' \
|
||||||
|
-e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
|
||||||
|
$@.perl >$@
|
||||||
chmod +x $@
|
chmod +x $@
|
||||||
|
|
||||||
$(patsubst %.py,%,$(SCRIPT_PYTHON)) : % : %.py
|
$(patsubst %.py,%,$(SCRIPT_PYTHON)) : % : %.py
|
||||||
rm -f $@
|
rm -f $@
|
||||||
sed -e '1s|#!.*python|#!$(PYTHON_PATH)|' \
|
sed -e '1s|#!.*python|#!$(PYTHON_PATH)|' \
|
||||||
-e 's|@@GIT_PYTHON_PATH@@|$(GIT_PYTHON_DIR)|g' \
|
-e 's|@@GIT_PYTHON_PATH@@|$(GIT_PYTHON_DIR)|g' \
|
||||||
$@.py >$@
|
-e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
|
||||||
|
$@.py >$@
|
||||||
chmod +x $@
|
chmod +x $@
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
|
@ -212,7 +212,10 @@ Date: '"$ad"
|
|||||||
echo
|
echo
|
||||||
git-diff-tree -p $diff_opts "$commit" | git-apply --stat --summary
|
git-diff-tree -p $diff_opts "$commit" | git-apply --stat --summary
|
||||||
echo
|
echo
|
||||||
|
git-cat-file commit "$commit^" | sed -e 's/^tree /applies-to: /' -e q
|
||||||
git-diff-tree -p $diff_opts "$commit"
|
git-diff-tree -p $diff_opts "$commit"
|
||||||
|
echo "---"
|
||||||
|
echo "@@GIT_VERSION@@"
|
||||||
|
|
||||||
case "$mbox" in
|
case "$mbox" in
|
||||||
t)
|
t)
|
||||||
|
Loading…
Reference in New Issue
Block a user