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
  • #2814
Closed
Open
Issue created Aug 15, 2016 by janRucka@janRucka

"Git Check for modifications" and Commit dialog runs batch files for unversioned or ignored files

Description:

When I am looking for changes I usually use "Git Check for modifications". But in case I have a new batch file (e.g. batch.cmd) and double click on it then it will start. I would expect to see it in some editor. The same is in case of committing new batch. If user double-click on it, he wants probably to see it - not start. If batch is only edited, then merge tool is opened as expected.

I understand that double-click on new files probably runs default program to open it but for some cases as batches this is not desired behavior.

To Reproduce:

  • Create new batch file (e.g. batch.cmd or batch.bat) in some git repository
  • Open "Git Check for modifications" window or open "Git commit" window
  • Double-click on your newly created batch file
  • Batch is started! I would expect to see it instead.

TortoiseGit 2.2.0.0, git version 2.8.1, W7-64

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