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 384
    • Issues 384
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • 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
  • #1487
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

Crazy behaviour - %GIT_DIR% set to all process

By @ch3cooli on October 24, 2012 15:03 (imported from Google Code)


What steps will reproduce the problem?

  1. Modify a file in C:\2\TortoiseGit\ext\libgit2
  2. Set assume unchanged in Shell Git tab
  3. Goto C:\2\TortoiseGit\ext
  4. Right click -> Commit
  5. Warn "User name not set"
  6. Goto C:\2\TortoiseGit
  7. Warn "User name not set"
  8. Right click -> log
    Wow! the log list shows the history of libgit2, but the title bar is C:\2\TortoiseGit
    and current directory is also C:\2\TortoiseGit

What version of TortoiseGit and msysgit are you using? On
what operating system?
TortoiseGit 1.7.14 Official
msysgit 1.7.11

Please provide any additional information below.
I use Process Explorer to further inspect the program, and I find %GIT_DIR% is set in TortoiseProc.exe
%GIT_DIR% = C:/2/TortoiseGit/.git/modules/ext/libgit2

After that, when I execute every new program, %GIT_DIR% is also set to each new instance of new process.

But such variable is not saved to system environment variable settings. It can return to normal after a reboot.

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