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

git commit does not show all added files in subdirectories

From
Dan McGee <dpmcgee@gmail.com>
Date
Dec 20, 2007, 03:47 UTC
Message-ID
<449c10960712191947y3125f782t6ce7ec7b25ded30f@mail.gmail.com>

The output below should help explain this bug better than words can. This is with version 1.5.4.rc0.

Note that all files were added with git add before the below output begins.

dmcgee@dublin ~/projects/abs $ git status # On branch master # # Initial commit # # Changes to be committed: # (use "git reset HEAD <file>..." to unstage) # # new file: abs # new file: etc/abs/abs.conf # new file: etc/abs/supfile.community # new file: etc/abs/supfile.core # new file: etc/abs/supfile.extra # new file: etc/abs/supfile.testing # new file: etc/abs/supfile.unstable #

dmcgee@dublin ~/projects/abs
$ git commit -s
Created initial commit 5f5f8d3: Initial creation of abs git repository
 1 files changed, 171 insertions(+), 0 deletions(-)
 create mode 100755 abs
 create mode 040000 etc

I assume that all files should be listed by git commit, but they are not. I'm willing to look into fixing this if someone could point me in the right direction.

-Dan
Next: Junio C Hamano
Message 1 of 3 in “git commit does not show all added files in subdirectories”
  1. Dan McGeeDec 20, 2007
  2. Junio C HamanoDec 20, 2007
  3. Dan McGeeDec 20, 2007

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.