Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'js/maint-1.6.1-filter-branch-submodule' into maint-1.6.1
author
Junio C Hamano
<gitster@pobox.com>
Fri, 13 Mar 2009 04:46:50 +0000
(21:46 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 13 Mar 2009 04:46:50 +0000
(21:46 -0700)
* js/maint-1.6.1-filter-branch-submodule:
filter-branch: do not consider diverging submodules a 'dirty worktree'
git-filter-branch.sh
patch
|
blob
|
history
raw
(from parent 1:
c26901a
)
diff --git
a/git-filter-branch.sh
b/git-filter-branch.sh
index 56d1bd0f99743fdb4ba53c457d823b4efc7c1bdd..0897b5971a770755527817d4cb3766d87ce5bebd 100755
(executable)
--- a/
git-filter-branch.sh
+++ b/
git-filter-branch.sh
@@
-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