Incorrect count of removed files if some files do not exist
What steps will reproduce the problem?
issue A:
- create a new local Git repository
- commit a file
existingfile.ext
with arbitrary commit message - open command shell in folder where existingfile.ext resides
- execute
TortoiseGitProc.exe /command:remove /path:"existingfile.ext*nonexistingfile.ext"
- confirm question "to remove the 2 selected files" with "Remove"
-
ℹ error "fatal: pathspec 'nonexistingfile.ext'" is reported - click on "Ignore"
-
❌ info "2 files removed." is shown
issue B: (see issue A for steps 1. to 6.)
- click on "Abort"
-
❌ no information about the number of removed files is shown at all
What is the expected output? What do you see instead?
issue A
- expected: info about removal of one file appears
- actual: info about removal of two files appears
issue B
- expected: info about removal of one file appears
- actual: no info appears at all
What version of TortoiseGit and Git are you using? On what operating system?
- TortoiseGit 2.13.0.0
- git version 2.35.1.windows.2
- Windows 10 Build 19043.1466
Please provide any additional information below.
- no additional information