Skip to content

Conversation

@ahoppen
Copy link
Member

@ahoppen ahoppen commented Nov 5, 2025

os.path.dirname removes the last path component of a path. If there was a git failure in ~/src/swift, this means that we show ~/src as the repo name, which isn’t very helpful. Use os.path.basename, which returns the last path component, ie. swift.

`os.path.dirname` removes the last path component of a path. If there was a git failure in `~/src/swift`, this means that we show `~/src` as the repo name, which isn’t very helpful. Use `os.path.basename`, which returns the last path component, ie. `swift`.
@ahoppen
Copy link
Member Author

ahoppen commented Nov 5, 2025

@swift-ci Please smoke test

@ahoppen ahoppen enabled auto-merge November 5, 2025 22:41
@ahoppen ahoppen merged commit d5b8dc6 into swiftlang:main Nov 6, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants