Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-02-03 08:48:34 +0300
committerJunio C Hamano <gitster@pobox.com>2010-02-03 08:48:34 +0300
commit4b7acc186f33037178f4d137b2e6099c67492bde (patch)
tree5ee3edd5a5b85795b54e0b26cda06d4b09c4c1b4 /git-filter-branch.sh
parent484e669aa772a3f6386d0f03f7c75af603801813 (diff)
parent1f7d57ff76dc21e9d4ff07b8dd26a1c926c4f29b (diff)
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-xgit-filter-branch.sh2
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 \