Skip to content

Add tilde expansion support for paths#4

Merged
jph00 merged 1 commit intomainfrom
user
Mar 6, 2026
Merged

Add tilde expansion support for paths#4
jph00 merged 1 commit intomainfrom
user

Conversation

@ncoop57
Copy link
Contributor

@ncoop57 ncoop57 commented Mar 3, 2026

Adds expanduser() to path handling in callgit() and Git.__init__(), enabling support
for paths like ~/repos/myproject.

  • callgit(): Now expands ~ before resolving the path
  • Git class: Expands user paths on initialization

This ensures tilde paths work consistently throughout the library.

@ncoop57 ncoop57 added the enhancement New feature or request label Mar 3, 2026
@ncoop57 ncoop57 requested a review from jph00 March 3, 2026 14:17
@jph00
Copy link
Contributor

jph00 commented Mar 6, 2026

Good idea.

@jph00 jph00 merged commit 2f0b2a7 into main Mar 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants