Closed kobusjooste closed 3 years ago
Running git commands, via xargs, without input may lead to spurious error messages at best.
At worst it might have unforseen bad effects especially with remove and delete commands.
Use xargs' "-r" option to run only when non-zero input from the pipe is received.
Thank you, this is a great protection. Very much appreciated!
Running git commands, via xargs, without input may lead to spurious error messages at best.
At worst it might have unforseen bad effects especially with remove and delete commands.
Use xargs' "-r" option to run only when non-zero input from the pipe is received.