Merge branch 'maint'
authorJunio C Hamano <gitster@pobox.com>
Sun, 6 Sep 2009 07:39:32 +0000 (00:39 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 6 Sep 2009 07:39:32 +0000 (00:39 -0700)
* maint:
  push: re-flow non-fast-forward message
  push: fix english in non-fast-forward message

1  2 
builtin-push.c

diff --combined builtin-push.c
@@@ -158,9 -158,9 +158,9 @@@ static int do_push(const char *repo, in
  
                error("failed to push some refs to '%s'", url[i]);
                if (nonfastforward) {
-                       printf("To prevent you from losing history, non-fast-forward updates were rejected.\n"
-                              "Merge the remote changes before pushing again.\n"
-                              "See 'non-fast forward' section of 'git push --help' for details.\n");
+                       printf("To prevent you from losing history, non-fast-forward updates were rejected\n"
+                              "Merge the remote changes before pushing again.  See the 'non-fast forward'\n"
+                              "section of 'git push --help' for details.\n");
                }
                errs++;
        }
@@@ -175,7 -175,6 +175,7 @@@ int cmd_push(int argc, const char **arg
        const char *repo = NULL;        /* default repository */
  
        struct option options[] = {
 +              OPT_BIT('q', "quiet", &flags, "be quiet", TRANSPORT_PUSH_QUIET),
                OPT_BIT('v', "verbose", &flags, "be verbose", TRANSPORT_PUSH_VERBOSE),
                OPT_STRING( 0 , "repo", &repo, "repository", "repository"),
                OPT_BIT( 0 , "all", &flags, "push all refs", TRANSPORT_PUSH_ALL),