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.

 -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmj...@jabber.org
Email..... dm...@ictsoc.de

Attachment: org-attach-remove-depend-xargs.diff
Description: Binary data

Attachment: pgp8YdNh6onIO.pgp
Description: PGP signature

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to