Skip to content

Conversation

@jmcgill
Copy link

@jmcgill jmcgill commented Feb 9, 2026

git status does not expand new directories by default. This is causing entire directories to be passed to ghcommit e.g:

ghcommit ... -add newdir/

This causes an error in ghcommit, which expects files, not directories.

This PR adds the -uall flag to git status so that we get the complete path to each newly added file.

Output before:

?? newdir/

Output after:

?? newdir/file1.txt
?? newdir/file2.txt

@jmcgill jmcgill requested a review from a team as a code owner February 9, 2026 06:57
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.

1 participant