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

Re: Working patterns

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 23, 2013, 21:44 UTC
Message-ID
<xmqqa9hzpsr0.fsf@gitster.dls.corp.google.com>
In-Reply-To
<201310232023.r9NKNr5v012288@freeze.ariadne.com>
worley@alum.mit.edu (Dale R. Worley) writes:
> It seems to me that the two sets of Git commands should be invokable
> under the same circumstances, that there is a design specification as
> to how Git can be invoked, and both implementations should match that.

As far as I know, the design for any (be it script or command) is that they should be able to run from the top-level and from any subdirectory within, but running from outside the top-level of the working tree has never been part of the design goal. If some commands tolerated it, that was by mere accident and not by design.

Previous: Dale R. Worley
Message 2 of 2 in “Working patterns”
  1. Dale R. WorleyOct 23, 2013
  2. Junio C HamanoOct 23, 2013

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.