We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[macOS 14.1.1, zsh, git-extras v7.1.0]
If I run git standup in a parent directory of some git-repositories. git standup fails with:
git standup
find: : No such file or directory
If I run bash -x /usr/local/bin/git-standup, I see:
bash -x /usr/local/bin/git-standup
++ find '' . -maxdepth 2 -mindepth 0 -name .git find: : No such file or directory
That's because of the quoted empty value of: $INCLUDE_LINKS in PROJECT_DIRS=$(find "$INCLUDE_LINKS" . -maxdepth "$MAXDEPTH" -mindepth 0 -name .git) (https://github.com/tj/git-extras/blob/main/bin/git-standup#L243)
$INCLUDE_LINKS
PROJECT_DIRS=$(find "$INCLUDE_LINKS" . -maxdepth "$MAXDEPTH" -mindepth 0 -name .git)
Since $INCLUDE_LINKS is only set if -L option is used, IMO there should be a handling of the empty value or the variable should have some valid value which find can handle. (https://github.com/tj/git-extras/blob/main/bin/git-standup#L124)
-L
find
The text was updated successfully, but these errors were encountered:
Thanks for your analysis. PR is welcome!
Sorry, something went wrong.
fix: git-standup find error (tj#1106)
dce1ffb
7e67dd3
fix: git-standup find error (#1106) (#1110)
58c5b50
No branches or pull requests
[macOS 14.1.1, zsh, git-extras v7.1.0]
If I run
git standup
in a parent directory of some git-repositories.git standup
fails with:If I run
bash -x /usr/local/bin/git-standup
, I see:That's because of the quoted empty value of:
$INCLUDE_LINKS
inPROJECT_DIRS=$(find "$INCLUDE_LINKS" . -maxdepth "$MAXDEPTH" -mindepth 0 -name .git)
(https://github.com/tj/git-extras/blob/main/bin/git-standup#L243)
Since
$INCLUDE_LINKS
is only set if-L
option is used, IMO there should be a handling of the empty value or the variable should have some valid value whichfind
can handle.(https://github.com/tj/git-extras/blob/main/bin/git-standup#L124)
The text was updated successfully, but these errors were encountered: