From: Johannes Schindelin Date: Wed, 21 Dec 2005 23:49:02 GMT Subject: [PATCH] Add suggestion to hard-to-understand error message Message-ID: Dummies like me do not understand readily that "remote object abcdef... does not exist on local" means: "Hey, you did not pull this, did you?". So, add "(pull first?)" to that message. Signed-off-by: Johannes Schindelin --- Wow, my commit messages get longer, while the patches get shorter. Odd. send-pack.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) af2d86726fe961043d0c69c4fb727689a5903b63 diff --git a/send-pack.c b/send-pack.c index 5bc2f01..643662a 100644 --- a/send-pack.c +++ b/send-pack.c @@ -233,7 +233,7 @@ static int send_pack(int in, int out, in !ref->force) { if (!has_sha1_file(ref->old_sha1)) { error("remote '%s' object %s does not " - "exist on local", + "exist on local (pull first?)", ref->name, sha1_to_hex(ref->old_sha1)); ret = -2; continue; -- 0.99.9.GIT