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
  • #2225
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

include.path does not understand tilde (~)

By jke...@connectwise.com on June 27, 2014 00:18 (imported from Google Code)


What steps will reproduce the problem?

  1. Add an include.path to .gitconfig to which has a tilde. Example:

[include]
path = ~/.gitconfig.local

  1. View the tortoisegit log for any git repository.
  2. Tortoise git shows several error messages as follows:

Could not get config.
libgit reoprts:
bad config file line 84 in C:/\Users\jkeyes/.gitconfig

tortoisegit should follow the config path in include.path and read those settings as implemented in https://github.com/TortoiseGit/TortoiseGit/pull/60

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

tortoisegit 1.8.7, msysgit 1.9.0, Windows 7.

It seems to be a libgit issue. It is discussed here:

https://github.com/libgit2/git2go/issues/85

https://github.com/libgit2/libgit2/issues/2272

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