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

Re: git -C has unexpected behaviour

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 7, 2016, 16:54 UTC
Message-ID
<alpine.DEB.2.20.1611071753200.3108@virtualbox>
In-Reply-To
<CADJspf+zqj2hHjD85dvt8Y4HKPViubvTzybbTq5mJDGCh2q1UQ@mail.gmail.com>
Hi Felix,
On Mon, 7 Nov 2016, Felix Nairz wrote:
> From what you are saying I can see that this expects as designed. It's
> confusing in the submodule case, but I get you don't want to add extra
> rules which slow down performance and mess with other people at the
> same time.

The "messing with other people" is the key point. There are most likely other users than just me who use the fact that `git -C sub/directory/ ...` works in a subdirectory of a checkout.

Ciao, Johannes

Previous: Felix Nairz
Message 5 of 5 in “git -C has unexpected behaviour”
  1. Felix NairzNov 4, 2016
  2. Stefan BellerNov 4, 2016
  3. Johannes SchindelinNov 4, 2016
  4. Felix NairzNov 7, 2016
  5. Johannes SchindelinNov 7, 2016

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.