Title: git config parser dosn't account for included files in a .gitconfig · Issue #201 · gitpython-developers/GitPython · GitHub
Open Graph Title: git config parser dosn't account for included files in a .gitconfig · Issue #201 · gitpython-developers/GitPython
X Title: git config parser dosn't account for included files in a .gitconfig · Issue #201 · gitpython-developers/GitPython
Description: The git config parser don't look into files that are included into the .gitconfig file. For example: ~/.gitconfig [user] name = Ryan Carney email = email@personal.com [include] path = ~/.gitconfig_local ~/.gitconfig_local [user] email = ...
Open Graph Description: The git config parser don't look into files that are included into the .gitconfig file. For example: ~/.gitconfig [user] name = Ryan Carney email = email@personal.com [include] path = ~/.gitconfig_...
X Description: The git config parser don't look into files that are included into the .gitconfig file. For example: ~/.gitconfig [user] name = Ryan Carney email = email@personal.com [include] path = ~/.gitcon...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/201
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"git config parser dosn't account for included files in a .gitconfig","articleBody":"The git config parser don't look into files that are [included](http://git-scm.com/docs/git-config#_includes) into the .gitconfig file.\n\nFor example:\n\n---\n\n**~/.gitconfig**\n\n```\n[user]\n name = Ryan Carney\n email = email@personal.com\n[include]\n path = ~/.gitconfig_local\n```\n\n**~/.gitconfig_local**\n\n```\n[user]\n email = email@work.com\n```\n\n**gitpython_test.py**\n\n```\nimport git\nrepo = git.Repo(\"test_repo\")\nreader = repo.config_reader()\nprint reader.get(\"user\", \"email\")\n```\n\n---\n\nGiven the above configuration you would expect **gitpython_test.py** to print `email@work.com` but instead it prints`email@personal.com`\n","author":{"url":"https://github.com/arecarn","@type":"Person","name":"arecarn"},"datePublished":"2014-11-12T21:41:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/201/GitPython/issues/201"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:35658bf3-277f-cfe9-662c-ead26a8ea8d2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B454:282672:15137D:1D8AB5:69694144 |
| html-safe-nonce | 08be782bbaa5a9900434a8060da96f4a9e98a39bb9cc4d96cf468af79503222d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDU0OjI4MjY3MjoxNTEzN0Q6MUQ4QUI1OjY5Njk0MTQ0IiwidmlzaXRvcl9pZCI6IjYyMTg2MDA1NTMxMzA4MzYyOTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6a90785215d002d11a6de0aeb8b4317b9d6bca9d5c6f8e441e26523ac2cbd677 |
| hovercard-subject-tag | issue:48566575 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitpython-developers/GitPython/201/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e572e23b01f12f9047f3a90c62a596e78ae91b51bd2c248664ce0d52e766a746/gitpython-developers/GitPython/issues/201 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e572e23b01f12f9047f3a90c62a596e78ae91b51bd2c248664ce0d52e766a746/gitpython-developers/GitPython/issues/201 |
| og:image:alt | The git config parser don't look into files that are included into the .gitconfig file. For example: ~/.gitconfig [user] name = Ryan Carney email = email@personal.com [include] path = ~/.gitconfig_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | arecarn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width