threads / discuss / 11367

git commit does not show all added files in subdirectories

Subject: git commit does not show all added files in subdirectories

## tl;dr

3 messages between Dec 20, 2007 and Dec 20, 2007.

replies: 2people: 2as markdown or json

Dan McGee· Dec 20, 2007, 03:47 UTC · lore

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
Junio C Hamano· Dec 20, 2007, 03:54 UTC · re: Dan McGee · lore

Re: git commit does not show all added files in subdirectories

Should be fixed already by 3eb2a15eb385749fbfe59b4e37fc754416275760 (builtin-commit: make summary output consistent with status).

Dan McGee· Dec 20, 2007, 04:00 UTC · re: Junio C Hamano · lore

Re: git commit does not show all added files in subdirectories

On Dec 19, 2007 9:54 PM, Junio C Hamano <gitster@pobox.com> wrote:
> Should be fixed already by 3eb2a15eb385749fbfe59b4e37fc754416275760
> (builtin-commit: make summary output consistent with status).

Darn, I looked through the log but must have looked right over that. Thanks for the quick response.

-Dan

← back to recent threads