diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-08-08 12:24:16 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-08 12:24:16 -0700 |
commit | fca64c80fb61147215de89c2f9391ea0f5576b35 (patch) | |
tree | c96e6ba8440ee4a5865381a550c47f0766a3d276 /git-filter-branch.sh | |
parent | Merge branch 'tc/minix' (diff) | |
parent | filter-branch: Export variable `workdir' for --commit-filter (diff) | |
download | tgif-fca64c80fb61147215de89c2f9391ea0f5576b35.tar.xz |
Merge branch 'maint'
* maint:
filter-branch: Export variable `workdir' for --commit-filter
Documentation/Makefile: add *.pdf to `clean' target
Documentation: ignore *.pdf files
Diffstat (limited to 'git-filter-branch.sh')
-rwxr-xr-x | git-filter-branch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-filter-branch.sh b/git-filter-branch.sh index 962a93b586..6b5f2251b6 100755 --- a/git-filter-branch.sh +++ b/git-filter-branch.sh @@ -363,7 +363,7 @@ while read commit parents; do sed -e '1,/^$/d' <../commit | \ eval "$filter_msg" > ../message || 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 || die "could not write rewritten commit" done <../revs |