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 <yba...@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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to