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: user:token@github.com
IPv4 address: 140.82.112.3
{"@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:11Z","url":"https://github.com/gitpython-developers/GitPython/issues/996"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:665f2b57-11ef-45fc-3eef-1c893842348d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8CEE:107A1:121D360:18197FE:6B065A85 |
| html-safe-nonce | 4537aeb02c343866da772deb1b7efae79b390ed05ef78fe654c7bec754ed7cf0 |
| visitor-payload | eyJyZWZlcnJlciI6bnVsbCwicmVxdWVzdF9pZCI6IjhDRUU6MTA3QTE6MTIxRDM2MDoxODE5N0ZFOjZCMDY1QTg1IiwidmlzaXRvcl9pZCI6IjczNzY2NjIzNjkxMTM4ODk0MTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJjZW50cmFsdXMifQ== |
| visitor-hmac | 6707ad8b869aefe8dc8a69ac9f26610e92189bdf96b8c4c5be194178e6f900a8 |
| 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 | 6324e6ac990fb6befbec840cc0e102a1071c339bfe8f9826bb12de2e3ba1d297 |
| 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 | 7f0aa75f4141d440c6110dc31af7ea7797abb6c4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width