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

Bug Report

From
TDTiago d'Almeida <tjamadeira@gmail.com>
Date
Jun 27, 2023, 16:02 UTC
Message-ID
<CAO=RawtAvOna1xrBNY+T-fo4UQe-ipC6OvFODvOSdu4wUML3Ng@mail.gmail.com>
Hello!
I'm Tiago and sorry for any mistake because it is my first bug report to git.

So after git updated, I begin to get some errors and unexpected git status output.

I made a test git repo to test this, and here are the results:

``` mkdir git_bug && cd git_bug git init -q && git maintenance register && echo "Done!" touch <files> mkdir <folders> touch <files in folders> git status --short

## No commits yet on main ?? LICENSE ?? README.md ?? folder/ ?? folder_1/

git add <files> git status

## No commits yet on main ?? LICENSE ?? README.md ?? folder/ ?? folder_1/

git commit -s -m "First commit"
On branch main
Initial commit

Untracked files: LICENSE README.md folder/ folder_1/

nothing added to commit but untracked files present
```

Attached to this email follow the `git bugreport` and global `config` files, and the git_bug repo.

I've checked my global config file and it seems all ok, but if there is some error or contradicition, please tell me.

Thanks in advance!

Thank you for filling out a Git bug report! Please answer the following questions to help us understand your issue.

What did you do before the bug happened? (Steps to reproduce your issue)
A normal git routine.
- git add <files>
- git commit -s -m "Commit"
What did you expect to happen? (Expected behavior)
No errors and the files being added and commited.
What happened instead? (Actual behavior)
No files added. Error when tried to commit.
What's different between what you expected and what actually happened?
The error.
Anything else you want to add:
This just happened after updating git to version 2.41 

[System Info] git version 2.41.0 cpu: x86_64 no commit associated with this build sizeof-long: 8 sizeof-size_t: 8 shell-path: /bin/sh uname: Linux 6.3.8-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 15 02:15:40 UTC 2023 x86_64 compiler info: gnuc: 13.1 libc info: glibc: 2.37 $SHELL (typically, interactive shell): /usr/bin/fish

[Enabled Hooks]
Next: Jeff King
Message 1 of 5 in “Bug Report”
  1. Tiago d'AlmeidaJun 27, 2023
  2. index.skipHash doesn't work with split index, was Re: Bug ReportJeff King, Jun 29, 2023
  3. Johannes SchindelinJul 5, 2023
  4. Junio C HamanoJul 5, 2023
  5. Jeff KingJul 3, 2023

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.