author | Ramkumar Ramachandra <artagnon@gmail.com> | |
Tue, 19 Oct 2010 14:39:28 +0000 (20:09 +0530) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 28 Oct 2010 20:28:44 +0000 (13:28 -0700) | ||
commit | 92c62a3f4f93432c0c82e3031a9e64e03ba290f7 | |
tree | a17cf82fbe26678b12ab794ab6aeddfb5948fd9b | tree | snapshot |
parent | ca209065f3cc3462eb0ae6090f6b13f38aa2114c | commit | diff |
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 <jjensen@workspacewhiz.com>
Reported-by: Thore Husfeldt <thore.husfeldt@gmail.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 <jjensen@workspacewhiz.com>
Reported-by: Thore Husfeldt <thore.husfeldt@gmail.com>
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-pull.sh | diff | blob | history | |
git-rebase--interactive.sh | diff | blob | history | |
git-rebase.sh | diff | blob | history | |
git-sh-setup.sh | diff | blob | history |