git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Improved Error Message
@ 2019-01-22 10:11 Ralph Martin
  2019-01-22 15:51 ` Santiago Torres
  0 siblings, 1 reply; 2+ messages in thread
From: Ralph Martin @ 2019-01-22 10:11 UTC (permalink / raw)
  To: git@vger.kernel.org; +Cc: Ralph Martin

While using cask-repair -d from homebrew, I got multiple messages of the form

ERROR: Repository not found.
fatal: Could not read from remote repository.


The author of that command tells me these were issued by git.
Unfortunately, they are rather unhelpful, as they do not tell the user which repository has not been found.
Could they please be improved to include the name of the repository which could not be found?

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

* Re: Improved Error Message
  2019-01-22 10:11 Improved Error Message Ralph Martin
@ 2019-01-22 15:51 ` Santiago Torres
  0 siblings, 0 replies; 2+ messages in thread
From: Santiago Torres @ 2019-01-22 15:51 UTC (permalink / raw)
  To: Ralph Martin; +Cc: git@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 1322 bytes --]

Hi, Ralph.

This feels like an issue of how homebrew relays information rather than
with git:

    santiago at ~ ✔ git clone nonexistent
    fatal: repository 'nonexistent' does not exist
    santiago at ~ ✗ git clone https://nonexistent.git
    Cloning into 'nonexistent'...
    fatal: unable to access 'https://nonexistent.git/': Could not resolve host: nonexistent.git

However, it appears that the error is not that the repository is not
found, but rather that the way that the server is set up. 

If you'd like to debug the issue you may want to take at the GIT_TRACE
environment variables. Likewise, cask-repair could relay contextual
information when the error is found (i.e., where was it trying to
clone), rather than just transparently relaying stderr.

Cheers!
-Santiago.


On Tue, Jan 22, 2019 at 10:11:03AM +0000, Ralph Martin wrote:
> While using cask-repair -d from homebrew, I got multiple messages of the form
> 
> ERROR: Repository not found.
> fatal: Could not read from remote repository.
> 
> 
> The author of that command tells me these were issued by git.
> Unfortunately, they are rather unhelpful, as they do not tell the user which repository has not been found.
> Could they please be improved to include the name of the repository which could not be found?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2019-01-22 16:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-22 10:11 Improved Error Message Ralph Martin
2019-01-22 15:51 ` Santiago Torres

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).