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
  • #2558
Closed
Open
Issue created Aug 13, 2015 by Alexander Ting@whypurplishblue

Can't create a new temp file/folder after upgrading to Win 10

Abstract

TortoiseGit 1.8.14.0 & 1.8.15.0 (C:\Program Files\TortoiseGit\bin)

git version 1.9.5.msysgit.1 (C:\Program Files (x86)\Git\bin)

After upgrading from Win 7 to Win 10

  • the Commit dialog is not shown after clicking context menu item Git Commit -> "master". (The others are all good.)
  • Can't do the diff from log dialog
  • ...

Cause: the security permissions of TortoiseGit temp folder might be different.

The key testing

  • Command line is OK. "C:\Program Files\TortoiseGit\bin\tortoisegitproc.exe" /command:commit

  • Debug Strings shows a CFileException was thrown from inside of CTGitPathList::LoadFromFile() (see here)

  • Set advanced setting Debug = true, and result:

image

Looks like TortoiseGit creates temp file failed, see code. Or failure of ::GetTempPath(), see code.

Solution

Delete C:\Users\<user>\AppData\Local\Temp\TortoiseGit folder.

Original Report

When I try to commit a branch from the context menu, no dialog pops up and nothing happens. Git Sync, Show log, Git Rebase.. etc all works.

Noticed this after upgrading from Windows 7 to 10. Committing via command line and other Git tools works.

2015-08-13_17_00_19-Money

Not sure if there logs that can give more information about this.

Version info:

TortoiseGit 1.8.14.0 (C:\Program Files\TortoiseGit\bin)

git version 1.9.5.msysgit.1 (C:\Program Files (x86)\Git\bin)

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