Browse Source

Merge branch 'maint'

* maint:
  filter-branch: Export variable `workdir' for --commit-filter
  Documentation/Makefile: add *.pdf to `clean' target
  Documentation: ignore *.pdf files
maint
Junio C Hamano 14 years ago
parent
commit
fca64c80fb
  1. 1
      Documentation/.gitignore
  2. 1
      Documentation/Makefile
  3. 2
      git-filter-branch.sh

1
Documentation/.gitignore vendored

@ -3,6 +3,7 @@
*.[1-8] *.[1-8]
*.made *.made
*.texi *.texi
*.pdf
git.info git.info
gitman.info gitman.info
howto-index.txt howto-index.txt

1
Documentation/Makefile

@ -232,6 +232,7 @@ cmd-list.made: cmd-list.perl ../command-list.txt $(MAN1_TXT)
clean: clean:
$(RM) *.xml *.xml+ *.html *.html+ *.1 *.5 *.7 $(RM) *.xml *.xml+ *.html *.html+ *.1 *.5 *.7
$(RM) *.texi *.texi+ *.texi++ git.info gitman.info $(RM) *.texi *.texi+ *.texi++ git.info gitman.info
$(RM) *.pdf
$(RM) howto-index.txt howto/*.html doc.dep $(RM) howto-index.txt howto/*.html doc.dep
$(RM) technical/api-*.html technical/api-index.txt $(RM) technical/api-*.html technical/api-index.txt
$(RM) $(cmds_txt) *.made $(RM) $(cmds_txt) *.made

2
git-filter-branch.sh

@ -363,7 +363,7 @@ while read commit parents; do
sed -e '1,/^$/d' <../commit | \ sed -e '1,/^$/d' <../commit | \
eval "$filter_msg" > ../message || eval "$filter_msg" > ../message ||
die "msg filter failed: $filter_msg" die "msg filter failed: $filter_msg"
@SHELL_PATH@ -c "$filter_commit" "git commit-tree" \ workdir=$workdir @SHELL_PATH@ -c "$filter_commit" "git commit-tree" \
$(git write-tree) $parentstr < ../message > ../map/$commit || $(git write-tree) $parentstr < ../message > ../map/$commit ||
die "could not write rewritten commit" die "could not write rewritten commit"
done <../revs done <../revs

Loading…
Cancel
Save