-
-
Notifications
You must be signed in to change notification settings - Fork 25.6k
New issue
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
xargs -r invalid on OSX #2692
Comments
Confirmed here. Mac OSX uses the BSD-flavored So simple fix is: XARGS_OPTS=
&>/dev/null xargs -r && XARGS_OPTS+="-r"
alias gwip="git add -A; git ls-files --deleted -z | xargs ${XARGS_OPTS} -0 git rm; git commit -m \"--wip--\"" @robbyrussell should I submit a PR? |
This is the second time this bites someone, so I submitted #2714. Please test it if you have time. |
Effectively solved and ready to close once #2790 is merged. Just leaving this comment to update the issue and get it out of the way to triage the rest... |
Looks like this was fixed by #2790. I don't see any remaining |
Indeed this should be fixed now.
|
The alias in the git plugin uses the -r flag for xargs. This is invalid on OSX.
gwip='git add -A; git ls-files --deleted -z | xargs -r0 git rm; git commit -m "--wip--"'
The text was updated successfully, but these errors were encountered: