From mboxrd@z Thu Jan 1 00:00:00 1970 From: Puneeth Chaganti Subject: Re: Git Changelogs Date: Fri, 18 Feb 2011 01:19:55 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from [140.186.70.92] (port=59593 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pq9s6-0005Rr-2m for emacs-orgmode@gnu.org; Thu, 17 Feb 2011 14:50:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pq9s4-0000ao-HG for emacs-orgmode@gnu.org; Thu, 17 Feb 2011 14:50:37 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:56830) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pq9s4-0000ah-BW for emacs-orgmode@gnu.org; Thu, 17 Feb 2011 14:50:36 -0500 Received: by wyj26 with SMTP id 26so2882790wyj.0 for ; Thu, 17 Feb 2011 11:50:35 -0800 (PST) In-Reply-To: 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: avdi@avdi.org Cc: emacs-orgmode Hi Avdi, On Thu, Feb 17, 2011 at 9:23 PM, Avdi Grimm wrote: > Is there an easy way to have a version-controlled Org file suck in its > own changelog and present it as a list of entries? Using babel, you could do that. Try out the example below which prints a list of the changes to my notes.org file as a list. #+begin_src sh :results output raw git log --pretty=format:"+ %s by %an" notes.org #+end_src Look at the PRETTY-FORMATS section in the help of git-log [1] to tweak your git log output. HTH, Puneeth [1] - http://www.kernel.org/pub/software/scm/git/docs/git-log.html