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

[PATCH] Fixning WTF porcelain messages

From
Alexander Shopov <ash@kambanaria.org>
Date
Aug 10, 2014, 15:13 UTC
Message-ID
<1407683607-4143-1-git-send-email-ash@kambanaria.org>

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
Next: Alexander Shopov
Message 1 of 7 in “Fixning WTF porcelain messages”
  1. Fixning WTF porcelain messagesAlexander Shopov, Aug 10, 2014
  2. Fixing unclear messagesAlexander Shopov, Aug 10, 2014
  3. Jeff KingAug 10, 2014
  4. Junio C HamanoAug 11, 2014
  5. Alexander ShopovAug 11, 2014
  6. Junio C HamanoAug 11, 2014
  7. Alexander ShopovAug 11, 2014

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.