git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fixning WTF porcelain messages
@ 2014-08-10 15:13 Alexander Shopov
  2014-08-10 15:13 ` [PATCH] Fixing unclear messages Alexander Shopov
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Shopov @ 2014-08-10 15:13 UTC (permalink / raw)
  To: git
  Cc: avarab, jn.avila, worldhello.net, marcopaolone, marcomsousa,
	peter, ralf.thielow, gitster, Alexander Shopov

Some user-facing porcelain messages in Git are hard to understand and
hard to translate. They confuse users winthout providing proper
information and course of action. Here is the list of these messages
(starting with "-") and my suggestions (starting with "+"). The patch
follows in the next letter.

-Huh (%s)?
+Wrong choice (%s). Choose again.

-Clever... amending the last one with dirty index.
+You are amending the last commit only. There are additional changes in the index.

-confusion beyond insanity in parse_pack_objects()
+fatal error in function "parse_pack_objects". This is a bug in Git. Please report it to the developers with an e-mail to git@vger.kernel.org.

-confusion beyond insanity
+fatal error in function "conclude_pack". This is a bug in Git. Please report it to the developers with an e-mail to git@vger.kernel.org.

-insane in-reply-to: %s
+wrong format for the "in-reply-to" header: %s

-Two output directories?
+Maximum one output directory is allowed.

-Wonderful.\n
+The first part of the trivial merge finished successfully.\n

-Nope.\n
+Merge was not successful.\n

- ???
+ unknown state

-no tag message?
+missing tag message

-?? what are you talking about?
+unknown command. Only "start", "good", "bad" and "skip" are possible.

-Unprocessed path??? %s
+The path "%s" was not processed but it had to be. This is a bug in Git. Please report it to the developers with an e-mail to git@vger.kernel.org.



Alexander Shopov (1):
  Fixing unclear messages

 builtin/clean.c      | 2 +-
 builtin/commit.c     | 2 +-
 builtin/index-pack.c | 4 ++--
 builtin/log.c        | 4 ++--
 builtin/merge.c      | 5 +++--
 builtin/remote.c     | 2 +-
 builtin/tag.c        | 2 +-
 git-bisect.sh        | 2 +-
 merge-recursive.c    | 2 +-
 9 files changed, 13 insertions(+), 12 deletions(-)

-- 
1.9.3

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

end of thread, other threads:[~2014-08-11 20:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-10 15:13 [PATCH] Fixning WTF porcelain messages Alexander Shopov
2014-08-10 15:13 ` [PATCH] Fixing unclear messages Alexander Shopov
2014-08-10 19:37   ` Jeff King
2014-08-11  0:00   ` Junio C Hamano
2014-08-11  9:13     ` Alexander Shopov
2014-08-11 18:21       ` Junio C Hamano
2014-08-11 20:04         ` Alexander Shopov

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).