|
From: | Luke Crook |
Subject: | [O] Re: Using babel to generate a commit log |
Date: | Wed, 30 Mar 2011 21:58:47 +0000 (UTC) |
User-agent: | Loom/3.14 (http://gmane.org/) |
Eric Schulte <schulte.eric <at> gmail.com> writes: > > Luke Crook <luke <at> balooga.com> writes: > > > I have written the following code that uses the Emacs vc-* commands to generate > > a commit log. > Is there a reason this processing takes place using Emacs Lisp rather > than a simple shell code block, the following alternative should be > simpler and more robust. > > #+begin_src sh :exports results :results output > git log -1 > #+end_src I wanted to abstract away the actual vcs used so that this code could be used by others having a different vcs. In my case I only want the commits for the file being exported and not the previous 'n' commits. I have all my specs in the same git repo. -Luke
[Prev in Thread] | Current Thread | [Next in Thread] |