mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-09-12 22:22:51 -04:00
Running `git status` from the command line shows deleted and modified: ```console $ git status On branch main Changes not staged for commit: (use "git add/rm <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) deleted: repo/index.css modified: repo/index.html ``` But GitPython via `git ls-files` includes deleted files in the modified list: ``` >>> git_repo.git().ls_files(deleted=True).split() ['repo/index.css'] >>> git_repo.git().ls_files(modified=True).split() ['repo/index.css', 'repo/index.html'] ``` This was very confusing when troubleshooting #1344