[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-devel] [sr #108411] Enable commit mails including diffs for GNU

From: Bob Proulx
Subject: [AUCTeX-devel] [sr #108411] Enable commit mails including diffs for GNU AUCTeX
Date: Fri, 11 Oct 2013 01:48:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 Iceweasel/24.0

Follow-up Comment #3, sr #108411 (project administration):

Okay.  Let me tinker something together for you.

In CVS this is fully supported natively.  In git this isn't as nice since git
supports only one hook out of the box.  (Did I actually say that git wasn't as
nice as cvs?  No one is more shocked than myself!)  The git hook has stdin
piped into it and the script interprets it.  Therefore to run multiple hooks
you need to save off stdin into a temporary file and then hand it to each hook
script in turn.  Or the equivalent.  And to try to keep from breaking things I
will need to test in a victim location.  So please give me just a little bit
of tinker time to get it all tested and implemented.  Again this would be
useful for other projects too.

I looks to me like someone already tried to set up multiple hook scripts for
the auctex project.  The existing hook script was calling run-parts on a .d
subdirectory.  It worked because there was only one script in the .d
directory.  But it would not have worked if there were two.  Or rather the
second one would not have gotten any of the normal expected input.  Pretty
sure anyway. :-)


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]