Title: Another .gitignore issue versus standard Git · Issue #4295 · libgit2/libgit2 · GitHub
Open Graph Title: Another .gitignore issue versus standard Git · Issue #4295 · libgit2/libgit2
X Title: Another .gitignore issue versus standard Git · Issue #4295 · libgit2/libgit2
Description: #3224 (comment) @segevfiner I guess your issue is different, as it is caused by issues with case-insensitivity. It would be very nice if you could create a new issue describing the problem. cc @pks-t CPython's has in it's .gitignore the ...
Open Graph Description: #3224 (comment) @segevfiner I guess your issue is different, as it is caused by issues with case-insensitivity. It would be very nice if you could create a new issue describing the problem. cc @pks...
X Description: #3224 (comment) @segevfiner I guess your issue is different, as it is caused by issues with case-insensitivity. It would be very nice if you could create a new issue describing the problem. cc @pks...
Opengraph URL: https://github.com/libgit2/libgit2/issues/4295
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Another .gitignore issue versus standard Git","articleBody":"\u003e https://github.com/libgit2/libgit2/issues/3224#issuecomment-313621374\r\n\u003e \r\n\u003e @segevfiner I guess your issue is different, as it is caused by issues with case-insensitivity. It would be very nice if you could create a new issue describing the problem.\r\n\r\ncc @pks-t \r\n\r\nCPython's has in it's .gitignore the following:\r\n```\r\n# Two-trick pony for OSX and other case insensitive file systems:\r\n# Ignore ./python binary on Unix but still look into ./Python/ directory.\r\n/python\r\n!/Python/\r\n```\r\n\r\nThe Python directory is not ignored by Git but is ignored by libgit2 (Found this due to Atom).\r\n\r\n### Reproduction steps\r\n1. Clone https://github.com/python/cpython\r\n2. `git check-ignore -v Python` \u0026ndash; The file isn't ignored\r\n3. Using Pygit2:\r\n```python\r\n\u003e\u003e\u003e import pygit2\r\n\u003e\u003e\u003e a = pygit2.Repository('.')\r\n\u003e\u003e\u003e a.path_is_ignored('Python')\r\nTrue\r\n```\r\n\r\n### Expected behavior\r\nThe Python directory should not be ignored like in standard Git.\r\n\r\n### Actual behavior\r\nThe Python directory is ignored by libgit2.\r\n\r\n### Version of libgit2 (release number or SHA1)\r\n`pygit2.LIBGIT2_VERSION` \u0026ndash; v0.26.0\r\nAtom git-utils v5.0.0 uses libgit2 v0.24.3\r\n\r\n### Operating system(s) tested\r\nWindows 10.0.15063 x64","author":{"url":"https://github.com/segevfiner","@type":"Person","name":"segevfiner"},"datePublished":"2017-07-07T09:20:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/4295/libgit2/issues/4295"}
| 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:a21fb628-3fd5-3282-2859-f4f19adf835b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9360:2658D0:6C37005:946D0AE:6A5EA66F |
| html-safe-nonce | 100fd1b81fd9cf2aa10c3bee5a404366547290fd5de3954b6a16b9f5877bbda5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzYwOjI2NThEMDo2QzM3MDA1Ojk0NkQwQUU6NkE1RUE2NkYiLCJ2aXNpdG9yX2lkIjoiNTE0NTUxMDM0MDExMDIzMTE1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3b2bf565cd39648aa62c188be50d59ac16b070ae6c0e9463d15b1f01190fbf9b |
| hovercard-subject-tag | issue:241206601 |
| 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/libgit2/libgit2/4295/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6b2e4c3494aa3643ea5e0cebcca2d4e5746a7821aa18836c9fd2808a714dcfa6/libgit2/libgit2/issues/4295 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6b2e4c3494aa3643ea5e0cebcca2d4e5746a7821aa18836c9fd2808a714dcfa6/libgit2/libgit2/issues/4295 |
| og:image:alt | #3224 (comment) @segevfiner I guess your issue is different, as it is caused by issues with case-insensitivity. It would be very nice if you could create a new issue describing the problem. cc @pks... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | segevfiner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7c7e31acb6a895494e518b880f5ccf39604f7fa9a8f2f3c64145efc3b776256d |
| turbo-cache-control | no-preview |
| go-import | github.com/libgit2/libgit2 git https://github.com/libgit2/libgit2.git |
| octolytics-dimension-user_id | 394745 |
| octolytics-dimension-user_login | libgit2 |
| octolytics-dimension-repository_id | 901662 |
| octolytics-dimension-repository_nwo | libgit2/libgit2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 901662 |
| octolytics-dimension-repository_network_root_nwo | libgit2/libgit2 |
| 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 | 2d2ac9bdd71d5f53f2b731c9330677e38624e301 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width