Merge branch 'jx/utf8-printf-width'
[gitweb.git] / builtin / push.c
index a2b3fbed6a4be128bbfc2c3f7c3b278a91680f80..42b129d36cf615ed264be0f1bff523a7fc327b12 100644 (file)
@@ -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"
@@ -437,6 +436,7 @@ int cmd_push(int argc, const char **argv, const char *prefix)
                OPT_BOOL(0, "progress", &progress, N_("force progress reporting")),
                OPT_BIT(0, "prune", &flags, N_("prune locally removed refs"),
                        TRANSPORT_PUSH_PRUNE),
+               OPT_BIT(0, "no-verify", &flags, N_("bypass pre-push hook"), TRANSPORT_PUSH_NO_HOOK),
                OPT_END()
        };