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 382
    • Issues 382
    • 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
  • #2966
Closed
Open
Issue created Mar 25, 2017 by saracab@saracab

Do not need to confirm cancel out of commit when there are no changes left

What steps will reproduce the problem?

  1. Start a TortoiseGit commit
  2. See only one changed file. Remember it was a mistake. Right-click revert it.
  3. Now there is nothing whatsoever to commit, so hit Cancel

What is the expected output? What do you see instead?

I would like it to cancel.

It asks me to confirm that I want to cancel.

I think that confirmation ("Are you sure you want to cancel?...") is pointless, because at this point, there is really nothing else to do.

What version of TortoiseGit and Git are you using? On what operating system?

TortoiseGit 2.4.0.2 Windows Server 2012

Please provide any additional information below.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking