All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yong Bakos <junk@humanoriented.com>
To: git@vger.kernel.org
Cc: Yong Bakos <junk@humanoriented.com>,
	barkalow@iabervon.org, Yong Bakos <ybakos@humanoriented.com>
Subject: [PATCH] transport, send-pack: append period to up-to-date message
Date: Tue, 24 May 2016 14:51:44 -0600	[thread overview]
Message-ID: <1464123104-45513-1-git-send-email-junk@humanoriented.com> (raw)

Appending a period to "Everything up-to-date" makes the output message
consistent with similar output in builtin/merge.c.

Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
---
 builtin/send-pack.c | 2 +-
 transport.c         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/builtin/send-pack.c b/builtin/send-pack.c
index 1ff5a67..67d9304 100644
--- a/builtin/send-pack.c
+++ b/builtin/send-pack.c
@@ -294,7 +294,7 @@ int cmd_send_pack(int argc, const char **argv, const char *prefix)
 	}

 	if (!ret && !transport_refs_pushed(remote_refs))
-		fprintf(stderr, "Everything up-to-date\n");
+		fprintf(stderr, "Everything up-to-date.\n");

 	return ret;
 }
diff --git a/transport.c b/transport.c
index 095e61f..53d5405 100644
--- a/transport.c
+++ b/transport.c
@@ -942,7 +942,7 @@ int transport_push(struct transport *transport,
 		if (porcelain && !push_ret)
 			puts("Done");
 		else if (!quiet && !ret && !transport_refs_pushed(remote_refs))
-			fprintf(stderr, "Everything up-to-date\n");
+			fprintf(stderr, "Everything up-to-date.\n");

 		return ret;
 	}
--
2.7.2

             reply	other threads:[~2016-05-24 21:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-24 20:51 Yong Bakos [this message]
2016-05-24 21:21 ` [PATCH] transport, send-pack: append period to up-to-date message Stefan Beller
2016-05-25 22:47   ` Jeff King
2016-05-25 22:55     ` Junio C Hamano
2016-05-26 14:16       ` Yong Bakos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1464123104-45513-1-git-send-email-junk@humanoriented.com \
    --to=junk@humanoriented.com \
    --cc=barkalow@iabervon.org \
    --cc=git@vger.kernel.org \
    --cc=ybakos@humanoriented.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.