From: Ævar Arnfjörð Bjarmason Date: Sat, 12 Feb 2011 23:14:22 GMT Subject: Re: [PATCH v3] Porcelain scripts: Rewrite cryptic "needs update" error message Message-ID: In-Reply-To: <1287499168-26569-1-git-send-email-artagnon@gmail.com> On Tue, Oct 19, 2010 at 16:39, Ramkumar Ramachandra wrote: > -               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" > +               require_clean_work_tree "pull with rebase" "Please commit or stash them." Doing this sort of thing is basically incompatible with doing i18n. I'll work around this when rebasing the ab/i18n series, but in the long term we shouldn't be doing stuff like this.