Title: Add way to get only topmost untracked folders/files · Issue #996 · gitpython-developers/GitPython · GitHub
Open Graph Title: Add way to get only topmost untracked folders/files · Issue #996 · gitpython-developers/GitPython
X Title: Add way to get only topmost untracked folders/files · Issue #996 · gitpython-developers/GitPython
Description: Let's say I have a new folder with three new files in it. When I use git status it will show like this: MyProject/New Folder/ But when I use GitPython's repo.untracked_files it will show like this: MyProject/New Folder/file_a.txt MyProje...
Open Graph Description: Let's say I have a new folder with three new files in it. When I use git status it will show like this: MyProject/New Folder/ But when I use GitPython's repo.untracked_files it will show like this:...
X Description: Let's say I have a new folder with three new files in it. When I use git status it will show like this: MyProject/New Folder/ But when I use GitPython's repo.untracked_files it will show li...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/996
X: @github
Domain: redirect.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add way to get only topmost untracked folders/files","articleBody":"Let's say I have a new folder with three new files in it.\r\n\r\nWhen I use `git status` it will show like this:\r\n```\r\nMyProject/New Folder/\r\n```\r\n\r\nBut when I use GitPython's `repo.untracked_files` it will show like this:\r\n```\r\nMyProject/New Folder/file_a.txt\r\nMyProject/New Folder/file_b.txt\r\nMyProject/New Folder/file_c.txt\r\n```\r\n\r\nIs there a way to get the same result as the `git status` version?","author":{"url":"https://github.com/BeayemX","@type":"Person","name":"BeayemX"},"datePublished":"2020-03-08T00:39:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/996/GitPython/issues/996"}
| 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:7344d8a4-3726-f32a-adc1-c76dce09179f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 818E:3346BC:ED624C:144564F:6969F0D2 |
| html-safe-nonce | 3fb62a02e144ea10eae14a92148d04a9fb96bf681afa96a93d6273fd938576b8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MThFOjMzNDZCQzpFRDYyNEM6MTQ0NTY0Rjo2OTY5RjBEMiIsInZpc2l0b3JfaWQiOiIxNDU0NzQ4NDMzNDYzMzM5MDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 375b575cee27158eb827a411b558b594754d9d4fbfcee08d877833e4a8587a70 |
| hovercard-subject-tag | issue:577423300 |
| 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/996/issue_layout |
| twitter:image | https://opengraph.githubassets.com/df32de53214ba99e8fdc6b83ea1888c0269ee5ead148d143a202d2f116a2ffd5/gitpython-developers/GitPython/issues/996 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/df32de53214ba99e8fdc6b83ea1888c0269ee5ead148d143a202d2f116a2ffd5/gitpython-developers/GitPython/issues/996 |
| og:image:alt | Let's say I have a new folder with three new files in it. When I use git status it will show like this: MyProject/New Folder/ But when I use GitPython's repo.untracked_files it will show like this:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BeayemX |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width