Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 380
    • Issues 380
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3859
Closed
Open
Issue created Feb 06, 2022 by meigelb@meigelbContributor

Incorrect count of removed files if some files do not exist

What steps will reproduce the problem?

issue A:

  1. create a new local Git repository
  2. commit a file existingfile.ext with arbitrary commit message
  3. open command shell in folder where existingfile.ext resides
  4. execute TortoiseGitProc.exe /command:remove /path:"existingfile.ext*nonexistingfile.ext"
  5. confirm question "to remove the 2 selected files" with "Remove"
  6. ℹ error "fatal: pathspec 'nonexistingfile.ext'" is reported
  7. click on "Ignore"
  8. ❌ info "2 files removed." is shown

issue B: (see issue A for steps 1. to 6.)

  1. click on "Abort"
  2. ❌ 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
Edited Feb 06, 2022 by meigelb
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking