mirror of
https://github.com/git/git.git
synced 2024-11-25 19:04:18 +08:00
push: finishing touches to explain REJECT_ALREADY_EXISTS better
Now that "already exists" errors are given only when a push tries to update an existing ref in refs/tags/ hierarchy, we can say "the tag", instead of "the destination reference", and that is far easier to understand. Pointed out by Chris Rorvick. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
75e5c0dc55
commit
b4cf8db275
@ -228,8 +228,7 @@ static const char message_advice_ref_fetch_first[] =
|
||||
"See the 'Note about fast-forwards' in 'git push --help' for details.");
|
||||
|
||||
static const char message_advice_ref_already_exists[] =
|
||||
N_("Updates were rejected because the destination reference already exists\n"
|
||||
"in the remote.");
|
||||
N_("Updates were rejected because the tag already exists in the remote.");
|
||||
|
||||
static const char message_advice_ref_needs_force[] =
|
||||
N_("You cannot update a remote ref that points at a non-commit object,\n"
|
||||
|
Loading…
Reference in New Issue
Block a user