summaryrefslogtreecommitdiffstats
path: root/git-filter-branch.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-12-01 17:32:38 -0500
committerJeff King <peff@peff.net>2015-12-01 17:32:38 -0500
commit40fdcc535783f5c64e6aba9f4b2d2c8997c55a8d (patch)
tree95a2da48eec35b7bfacf36beb80b05dcea84d6e1 /git-filter-branch.sh
parentMerge branch 'fp/subtree-todo-update' (diff)
parentMerge branch 'eg/p4-submit-catch-failure' into maint (diff)
downloadgit-40fdcc535783f5c64e6aba9f4b2d2c8997c55a8d.tar.xz
git-40fdcc535783f5c64e6aba9f4b2d2c8997c55a8d.zip
Merge branch 'maint'
* maint: http: treat config options sslCAPath and sslCAInfo as paths Documentation/diff: give --word-diff-regex=. example filter-branch: deal with object name vs. pathname ambiguity in tree-filter check-ignore: correct documentation about output git-p4: clean up after p4 submit failure git-p4: work with a detached head git-p4: add option to system() to return subshell status git-p4: add failing test for submit from detached head remote-http(s): support SOCKS proxies t5813: avoid creating urls that break on cygwin Escape Git's exec path in contrib/rerere-train.sh script allow hooks to ignore their standard input stream rebase-i-exec: Allow space in SHELL_PATH Documentation: make environment variable formatting more consistent
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 27c9c54fbd2..cefd1452c66 100755
--- a/git-filter-branch.sh
+++ b/git-filter-branch.sh
@@ -349,7 +349,7 @@ while read commit parents; do
die "tree filter failed: $filter_tree"
(
- git diff-index -r --name-only --ignore-submodules $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 \