Re: [PATCH 2/2] Porcelain scripts: Rewrite cryptic "needs update" error message
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Sep 26, 2010, 16:31 UTC
- Message-ID
- <vpqiq1spiuq.fsf@bauges.imag.fr>
- In-Reply-To
- <1285514516-5112-3-git-send-email-artagnon@gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
Show 5 quoted lines
> # Run in subshell because require_clean_work_tree can die. > - if ! (require_clean_work_tree) > + if ! (require_clean_work_tree "rebase") > then > warn "Commit or stash your changes, and then run"
That will make a duplicate "commit or stash your changes" message.
Otherwise, the patch seems OK.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/