git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] transport, send-pack: append period to up-to-date message

From
YBYong Bakos <junk@humanoriented.com>
Date
May 24, 2016, 20:51 UTC
Message-ID
<1464123104-45513-1-git-send-email-junk@humanoriented.com>

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
Next: Stefan Beller
Message 1 of 5 in “transport, send-pack: append period to up-to-date message”
  1. transport, send-pack: append period to up-to-date messageYong Bakos, May 24, 2016
  2. Stefan BellerMay 24, 2016
  3. Jeff KingMay 25, 2016
  4. Junio C HamanoMay 25, 2016
  5. Yong BakosMay 26, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.