From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Re: [PATCH] little fixes for attachment git commiting Date: Wed, 17 Feb 2010 09:04:24 +0100 Message-ID: <874olg2sqf.wl%maus.david@gmail.com> References: <87635xuhnd.fsf@dasa3.iem.pw.edu.pl> <871vglrkr4.wl%maus.david@gmail.com> <87y6isj27f.fsf@dasa3.iem.pw.edu.pl> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============0080216788==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nhetc-0005Bs-5t for emacs-orgmode@gnu.org; Wed, 17 Feb 2010 03:04:32 -0500 Received: from [140.186.70.92] (port=40560 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nhetb-0005Bk-Ax for emacs-orgmode@gnu.org; Wed, 17 Feb 2010 03:04:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NhetZ-0005zG-P5 for emacs-orgmode@gnu.org; Wed, 17 Feb 2010 03:04:31 -0500 Received: from mail-fx0-f215.google.com ([209.85.220.215]:56657) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NhetZ-0005zC-IP for emacs-orgmode@gnu.org; Wed, 17 Feb 2010 03:04:29 -0500 Received: by fxm7 with SMTP id 7so7292078fxm.8 for ; Wed, 17 Feb 2010 00:04:28 -0800 (PST) In-Reply-To: <87y6isj27f.fsf@dasa3.iem.pw.edu.pl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?UTF-8?B?xYF1a2Fzeg==?= Stelmach Cc: emacs-orgmode@gnu.org --===============0080216788== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Wed_Feb_17_09:04:21_2010-1"; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Wed_Feb_17_09:04:21_2010-1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =C5=81ukasz Stelmach wrote: >David Maus writes: >> =C5=81ukasz Stelmach wrote: >>>The other one helps if for some reason the file one would like to add >>>matches an entry in a .gitignore file. I suppose no one puts anything in >>>the org-attach-directory by hand, so anything that goes there is by >>>intention. >>>http://github.com/steelman/steelman-org-mode/commit/8ade081fd5a331cc61f8= f8a6f8cf5a92ff8881d5 >> >> I'd like to be this customizable: I do have LaTeX files as attachments >> and don't want the logs etc. be added to the git repository. >Do they get created org-attach-directory? Yes, they do. >> In addition one might explicitly include the content of attachment >> directories using the negating operator in .gitignore. >This might be a better solution indeed. Yep. Though about it: Using the -f switch overrides any configuration of git a user may have made in a system wide, user or repository specific gitignore -- that shouldn't be turned on by default or even enforced in the source. >I'll investigate it a little bit closer. Just an idea: Why not add hooks that are called after certain attachment operations (add, remove, update)? This way we could decouple a (specific) use of git or even of git itself. Some other thing: As far as I understood the source an error while synchronizing the attachment directory is indiciated in the "*Shell Command Output*" buffer and the miniprompt. I'm not sure if this should be considered sufficient or not. HTH -- David --=20 OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... maus.david@gmail.com --pgp-sign-Multipart_Wed_Feb_17_09:04:21_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkt7owgACgkQma24O1pEeOZOjwEAlXJbH6HxJdoS/AKnSwA6dqEc iM0h32TSBr4gVViA7QABAJKJQxmV6D4uIsRVopgUz/HhpZPNmg7s5kHsEPBDbf57 =5BSi -----END PGP SIGNATURE----- --pgp-sign-Multipart_Wed_Feb_17_09:04:21_2010-1-- --===============0080216788== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0080216788==--