Carsten Dominik <address@hidden> writes:
On Feb 16, 2010, at 8:04 PM, Łukasz Stelmach wrote:
There are two very small commits which iron some wrinkles. Both on
org-attach-git-commit branch of
git://github.com/steelman/steelman-org-mode.git
The first prevents git from running on an empty set of deleted
files.
Why is that a problem? I am hesitating to apply this patch, because
on my Mac OS 10.5, xargs does know the --no-run-if-empty argument.
^^^^^^^^^[*]
When xargs launches git rm without file arguments git emmits usage
--8<---------------cut here---------------start------------->8---
usage: git rm [options] [--] <file>...
-n, --dry-run dry run
-q, --quiet be quiet
--cached only remove from the index
-f, --force override the up-to-date check
-r allow recursive removal
--ignore-unmatch exit with a zero status even if nothing
-matched
--8<---------------cut here---------------end--------------->8---
message which in this situation is a bit confusing and *suggests*
somehting might have gone wrong. And of course a shell output buffer
pops up.
[*] does || doesn't?