diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-02-02 21:48:34 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-02 21:48:34 -0800 |
commit | 4b7acc186f33037178f4d137b2e6099c67492bde (patch) | |
tree | 5ee3edd5a5b85795b54e0b26cda06d4b09c4c1b4 /git-filter-branch.sh | |
parent | Merge branch 'jh/gitweb-caching' (early part) (diff) | |
parent | filter-branch: Add tests for submodules in tree-filter (diff) | |
download | tgif-4b7acc186f33037178f4d137b2e6099c67492bde.tar.xz |
Merge branch 'ms/filter-branch-submodule'
* ms/filter-branch-submodule:
filter-branch: Add tests for submodules in tree-filter
filter-branch: Fix to allow replacing submodules with another content
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 81fd3dba3d..e95845c0d6 100755 --- a/git-filter-branch.sh +++ b/git-filter-branch.sh @@ -331,7 +331,7 @@ while read commit parents; do die "tree filter failed: $filter_tree" ( - git diff-index -r --name-only $commit && + git diff-index -r --name-only --ignore-submodules $commit && git ls-files --others ) > "$tempdir"/tree-state || exit git update-index --add --replace --remove --stdin \ |