Attachments: Remove dependence on xargs
commit7e476db19639a5de4b8754a158844590e8586216
authorCarsten Dominik <carsten.dominik@gmail.com>
Wed, 24 Mar 2010 21:17:28 +0000 (24 22:17 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Wed, 24 Mar 2010 21:17:28 +0000 (24 22:17 +0100)
tree4a7246d84ac191f5b85d5f32c3ffca54999d2772
parent1d4ee49c91bf3e5d477180ab45d8ddc3f99915e7
Attachments: Remove dependence on xargs

Patch by David Maus, who writes:

> Attached patch for org-attach-commit in org-attach.el removes the
> dependency on the xargs command to remove files in the repository that
> were deleted in the attachment directory.
>
> Simply capture output of git ls-files --deleted -z in a temporary
> buffer, get the filenames from there via string-split and call git rm
> on each single file.
lisp/ChangeLog
lisp/org-attach.el