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

Re: repo-config needs a prefix.

From
Junio C Hamano <junkio@cox.net>
Date
Aug 10, 2006, 09:51 UTC
Message-ID
<7v8xlwx6k3.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<44DAFE34.50701@codeweavers.com>

While I do agree that it would be better to give nicer message when running "git-fetch" in bogus places, I do not know if your patch is the right fix. Especially, I am not sure if this change meshes well with this fix a few months ago.

commit 4d599e6bb46d6ef3276425af34922fdbf3aac473
Author: Linus Torvalds <torvalds@osdl.org>
Date:   Thu May 25 08:22:42 2006 -0700
    bogus "fatal: Not a git repository"
    
    I was just testing that "git ls-remote" change by Junio, and when you're
    not in a git repository, it gives this totally bogus warning. The _target_
    obviously has to be a git repository, but there's no reason why you'd have
    to be in a local git repo when doing an ls-remote.
Previous: Johannes Schindelin
Message 3 of 3 in “repo-config needs a prefix.”
  1. Robert ShearmanAug 10, 2006
  2. Johannes SchindelinAug 10, 2006
  3. Junio C HamanoAug 10, 2006

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.