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

Re: [PATCH v3] git-p4: show Perforce error to the user

From
Junio C Hamano <gitster@pobox.com>
Date
May 9, 2024, 15:30 UTC
Message-ID
<xmqqcypvvw80.fsf@gitster.g>
In-Reply-To
<pull.1668.v3.git.git.1715206266214.gitgitgadget@gmail.com>
"Fahad Alrashed via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 10 quoted lines
> From: Fahad Alrashed <fahad@keylock.net>
>
> During "git p4 clone" if p4 process returns an error from the server,
> it will store the message in the 'err' variable. Then it will send a
> text command "die-now" to git-fast-import. However, git-fast-import
> raises an exception: "fatal: Unsupported command: die-now" and err is
> never displayed. This patch ensures that err is shown to the end user.
>
> Signed-off-by: Fahad Alrashed <fahad@keylock.net>
> ---
Looking good.  Queued.  Thanks.
Previous: Fahad Alrashed via GitGitGadget
Message 6 of 6 in “Bug fix: ensure P4 "err" is displayed when exception is raised.”
  1. Bug fix: ensure P4 "err" is displayed when exception is raised.Fahad Alrashed via GitGitGadget, May 4, 2024
  2. Karthik NayakMay 6, 2024
  3. Bug fix: ensure P4 "err" is displayed when exception is raised.Fahad Alrashed via GitGitGadget, May 8, 2024
  4. Junio C HamanoMay 8, 2024
  5. git-p4: show Perforce error to the userFahad Alrashed via GitGitGadget, May 8, 2024
  6. Junio C HamanoMay 9, 2024

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.