Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
TortoiseGit
TortoiseGit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 300
    • Issues 300
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 8
    • Merge requests 8
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #2225

Closed
Open
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
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None