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


Reply via email to