From: Ramkumar Ramachandra Date: Tue, 19 Oct 2010 14:39:28 +0000 (+0530) Subject: Porcelain scripts: Rewrite cryptic "needs update" error message X-Git-Tag: v1.7.4-rc0~111^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/92c62a3f4f93432c0c82e3031a9e64e03ba290f7?hp=92c62a3f4f93432c0c82e3031a9e64e03ba290f7 Porcelain scripts: Rewrite cryptic "needs update" error message Although Git interally has the facility to differentiate between porcelain and plubmbing commands and appropriately print errors, several shell scripts invoke plubming commands triggering cryptic plumbing errors to be displayed on a porcelain interface. This patch replaces the "needs update" message in git-pull and git-rebase, when `git update-index` is run, with a more friendly message. Reported-by: Joshua Jensen Reported-by: Thore Husfeldt Signed-off-by: Ramkumar Ramachandra Signed-off-by: Junio C Hamano ---