mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 01:05:14 +00:00
eeaef556c2
- `RemoveFilesFromIndex` used an hardcoded empty commit ID for the SHA1 object format, this would result in an error if the repository was initialized to use the sha256 object format. Get the object format of the Git repository and use that to get the empty commit id. - Adds unit test. - Resolves #3184 |
||
---|---|---|
.. | ||
cherry_pick.go | ||
commit.go | ||
content.go | ||
content_test.go | ||
diff.go | ||
diff_test.go | ||
file.go | ||
file_test.go | ||
patch.go | ||
temp_repo.go | ||
temp_repo_test.go | ||
tree.go | ||
tree_test.go | ||
update.go | ||
upload.go |