Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Ignore dirty submodule states in "git pull --rebase"
author
Johannes Schindelin
<Johannes.Schindelin@gmx.de>
Tue, 22 Jul 2008 21:41:41 +0000
(22:41 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 23 Jul 2008 18:36:56 +0000
(11:36 -0700)
This is a companion patch to
6848d58c
(Ignore dirty submodule states
during rebase and stash).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-pull.sh
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
c65233f
)
diff --git
a/git-pull.sh
b/git-pull.sh
index 6afd4e2f4e5859728d748fe51f68e5bfcb934488..75c36100a2f858bcf2663d2b4560654787963175 100755
(executable)
--- a/
git-pull.sh
+++ b/
git-pull.sh
@@
-107,9
+107,9
@@
error_on_no_merge_candidates () {
}
test true = "$rebase" && {
- git update-index --refresh &&
- git diff-files --quiet &&
- git diff-index --cached --quiet HEAD -- ||
+ git update-index --
ignore-submodules --
refresh &&
+ git diff-files --
ignore-submodules --
quiet &&
+ git diff-index --
ignore-submodules --
cached --quiet HEAD -- ||
die "refusing to pull with rebase: your working tree is not up-to-date"
. git-parse-remote &&