You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using the tip of the master branch and couldn't reproduce the problem.
Running add on an empty folder shouldn't do anything because git only tracks files but not directories.
This means after the add command the repository is still empty and running find on the .git directory finds no objects:
Version
7.1.0
Operating System
Linux/Unix
Bug description
Run the following commands to reproduce
It crash with MissingObjectException unknown object 00000000000000000
Actual behavior
It crash with MissingObjectException unknown object 00000000000000000
Expected behavior
Work just like actual c git, if you run the same commands it won't crash.
Relevant log output
No response
Other information
I think in order to fix the bug. Before adding a directory check if it's not empty.
The text was updated successfully, but these errors were encountered: