Title: test_index_mutation compares full dereferenced and non-dereferenced paths · Issue #224 · gitpython-developers/GitPython · GitHub
Open Graph Title: test_index_mutation compares full dereferenced and non-dereferenced paths · Issue #224 · gitpython-developers/GitPython
X Title: test_index_mutation compares full dereferenced and non-dereferenced paths · Issue #224 · gitpython-developers/GitPython
Description: ====================================================================== ERROR: test_index_mutation (git.test.test_index.TestIndex) ---------------------------------------------------------------------- Traceback (most recent call last): F...
Open Graph Description: ====================================================================== ERROR: test_index_mutation (git.test.test_index.TestIndex) -------------------------------------------------------------------...
X Description: ====================================================================== ERROR: test_index_mutation (git.test.test_index.TestIndex) -------------------------------------------------------------------...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/224
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_index_mutation compares full dereferenced and non-dereferenced paths","articleBody":"```\n======================================================================\nERROR: test_index_mutation (git.test.test_index.TestIndex)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/yoh/deb/gits/python-git/git/test/lib/helper.py\", line 112, in repo_creator\n return func(self, rw_repo)\n File \"/home/yoh/deb/gits/python-git/git/test/test_index.py\", line 482, in test_index_mutation\n [os.path.abspath(os.path.join('lib', 'git', 'head.py'))] * 2, fprogress=self._fprogress_add)\n File \"/home/yoh/deb/gits/python-git/git/index/base.py\", line 684, in add\n paths, entries = self._preprocess_add_items(items)\n File \"/home/yoh/deb/gits/python-git/git/index/base.py\", line 546, in _preprocess_add_items\n paths.append(self._to_relative_path(item))\n File \"/home/yoh/deb/gits/python-git/git/index/base.py\", line 536, in _to_relative_path\n raise ValueError(\"Absolute path %r is not in git repository at %r\" % (path, self.repo.working_tree_dir))\nValueError: Absolute path '/tmp/tmpX75gjinon_bare_test_index_mutation/lib/git/head.py' is not in git repository at '/home/yoh/.tmp/tmpX75gjinon_bare_test_index_mutation'\n```\n\nsince I have \n\n```\n$\u003e ls -ld $TMPDIR\nlrwxrwxrwx 1 yoh yoh 5 Nov 10 2010 /home/yoh/.tmp -\u003e /tmp//\n```\n\nso may be in_to_relative_path should deref both paths before comparison?\n","author":{"url":"https://github.com/yarikoptic","@type":"Person","name":"yarikoptic"},"datePublished":"2015-01-05T01:19:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/224/GitPython/issues/224"}
| 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:2048f03e-f9ab-53ee-ddee-0fd33b28740e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B1B6:2A2892:2DD5934:401499F:69692DB2 |
| html-safe-nonce | 417d49002b3a8b736256fede95844b5fc9e488af9f5b7aa817ce715b171e1951 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUI2OjJBMjg5MjoyREQ1OTM0OjQwMTQ5OUY6Njk2OTJEQjIiLCJ2aXNpdG9yX2lkIjoiNzE0NTM3Nzg5MzYwMjU0Mzg2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | eedf244fc4779e541d27d4687f0fcdd3cd08635a44311e8d1668d7cbf7efdc40 |
| hovercard-subject-tag | issue:53356081 |
| 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/224/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5b7f9ecebb6e94eefe05bc2f22c3ef2ee858e6e6407b688c9877bd3826052518/gitpython-developers/GitPython/issues/224 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b7f9ecebb6e94eefe05bc2f22c3ef2ee858e6e6407b688c9877bd3826052518/gitpython-developers/GitPython/issues/224 |
| og:image:alt | ====================================================================== ERROR: test_index_mutation (git.test.test_index.TestIndex) -------------------------------------------------------------------... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | yarikoptic |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width