git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] branch: fix funny-sounding error message
@ 2015-04-02 21:27 Alex Henrie
  0 siblings, 0 replies; 6+ messages in thread
From: Alex Henrie @ 2015-04-02 21:27 UTC (permalink / raw)
  To: gitster, pclouds, git; +Cc: Alex Henrie

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
 builtin/branch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builtin/branch.c b/builtin/branch.c
index 1d15037..c0b4bae 100644
--- a/builtin/branch.c
+++ b/builtin/branch.c
@@ -972,7 +972,7 @@ int cmd_branch(int argc, const char **argv, const char *prefix)
 
 		if (!branch) {
 			if (!argc || !strcmp(argv[0], "HEAD"))
-				die(_("could not set upstream of HEAD to %s when "
+				die(_("could not set upstream of HEAD to %s because "
 				      "it does not point to any branch."),
 				    new_upstream);
 			die(_("no such branch '%s'"), argv[0]);
-- 
2.3.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [PATCH] branch: fix funny-sounding error message
@ 2015-05-02  3:12 Alex Henrie
  2015-05-03 23:54 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: Alex Henrie @ 2015-05-02  3:12 UTC (permalink / raw)
  To: gitster, pclouds, git; +Cc: Alex Henrie

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
---
 builtin/branch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builtin/branch.c b/builtin/branch.c
index 1d15037..c0b4bae 100644
--- a/builtin/branch.c
+++ b/builtin/branch.c
@@ -972,7 +972,7 @@ int cmd_branch(int argc, const char **argv, const char *prefix)
 
 		if (!branch) {
 			if (!argc || !strcmp(argv[0], "HEAD"))
-				die(_("could not set upstream of HEAD to %s when "
+				die(_("could not set upstream of HEAD to %s because "
 				      "it does not point to any branch."),
 				    new_upstream);
 			die(_("no such branch '%s'"), argv[0]);
-- 
2.3.7

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-05-05 23:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-02 21:27 [PATCH] branch: fix funny-sounding error message Alex Henrie
  -- strict thread matches above, loose matches on Subject: below --
2015-05-02  3:12 Alex Henrie
2015-05-03 23:54 ` Junio C Hamano
2015-05-05 19:42   ` Alex Henrie
2015-05-05 21:58     ` Junio C Hamano
2015-05-05 23:06       ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).