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 304
    • Issues 304
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • 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
  • #3184

Closed
Open
Created Mar 19, 2018 by Oliver Daum@ccHanibal

Commiting asks for user data although they are set via includeif

What steps will reproduce the problem?

  1. Edit your .gitconfig using conditional includes via includeif (https://git-scm.com/docs/git-config#_includes) like this
    [includeIf "gitdir:**/gitlab/**"]
      	path = .gitconfig-gitlab
    [includeIf "gitdir:**/CC/**"]
      	path = .gitconfig-codecentric
    Both files contain different user info like this
    [user]
        name = ccHanibal
        email = oliver.daum@codecentric.de
  2. Try to commit a repository that is located under the gitlab folder.

What is the expected output? What do you see instead?

I expect to see the commit dialog. Instead I'm asked to set user name and email first.
image
When I click yes, the settings dialog appears and it already shows the username and email configuration that is included via includeif. image
Leaving the dialog with OK presents the first dialog again.

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

TortoiseGit 2.6.0.0
Git for windows 2.16.2.windows.1
Windows 7

Please provide any additional information below.

In TortoiseGit 2.5.0.0 it worked fine, so seems to be a regression in 2.6.0.0.

Edited Aug 07, 2019 by Yue Lin Ho
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