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: 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:ca9b7818-2542-fe47-baba-bbf78098835f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D460:D440C:182DB23:20AA9CF:6A62E1A1 |
| html-safe-nonce | aabd450536cc352afdd29917c5c5593c7e0690b5ed3497757f2eddcda45eb74d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDYwOkQ0NDBDOjE4MkRCMjM6MjBBQTlDRjo2QTYyRTFBMSIsInZpc2l0b3JfaWQiOiI0MTIzMTc5MjI3Mzk4OTg4MTkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 664fe7a8857cc240a547f7b46208c02216d7d0e5aa33abe975a1e575473e5b15 |
| 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 | df33b1b61ee7b9a0af988199bfc3503c9c1acafb1f1d40e1f140ea7c84f890dd |
| 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 | d41cd1bdb290013455c0ac430fa755621733f5eb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width