Skip to content

Commit

Permalink
Merge branch 'js/maint-1.6.1-filter-branch-submodule' into maint-1.6.1
Browse files Browse the repository at this point in the history
* js/maint-1.6.1-filter-branch-submodule:
  filter-branch: do not consider diverging submodules a 'dirty worktree'
  • Loading branch information
Junio C Hamano committed Mar 13, 2009
2 parents c26901a + 26be15f commit 532b74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-filter-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ OPTIONS_SPEC=
. git-sh-setup

if [ "$(is_bare_repository)" = false ]; then
git diff-files --quiet &&
git diff-files --ignore-submodules --quiet &&
git diff-index --cached --quiet HEAD -- ||
die "Cannot rewrite branch(es) with a dirty working directory."
fi
Expand Down

0 comments on commit 532b74b

Please sign in to comment.