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

Regression: git-commit no longer works from within subdirectories

From
RSRobert Shearman <rob@codeweavers.com>
Date
Aug 3, 2006, 18:06 UTC
Message-ID
<44D23B1C.80704@codeweavers.com>
Hi,

In the latest master branch git-commit no longer works from within subdirectories. Instead, you have to go to the top-level directory of the git tree to do the commit.

It fails with a confusing message when you are in a subdirectory: rob@saturn:~/wine-git/dlls/msi$ git commit action.c usage: git-read-tree (<sha> | [[-m [--aggressive] | --reset | --prefix=<prefix>] [-u | -i]] <sha1> [<sha2> [<sha3>]])

I'm not sure whether the previous behaviour was intentional, but I got used to it. Either way, I don't think users upgrading from 1.4.1 would appreciate a user-facing change like this in a 0.0.1 incremental release.

Can this be changed back to the previous behaviour?
Thanks,
-- 
Rob Shearman
Next: Junio C Hamano
Message 1 of 4 in “Regression: git-commit no longer works from within subdirectories”
  1. Robert ShearmanAug 3, 2006
  2. Junio C HamanoAug 3, 2006
  3. Jeff KingAug 3, 2006
  4. Junio C HamanoAug 4, 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.