Subject: Re: can we prevent reflog deletion when branch is deleted?

From: Sitaram Chamarty <[email-masked]>
Date: Thu, 14 Nov 2013 21:50:34 +0530

I can't resist...

On 11/14/2013 08:12 PM, Stephen Bash wrote:

[snipped some stuff from Peff]

[snipped 60 lines of python]

In honor of your last name, here's what I would do if I needed to log
ref updates (and wasn't using Gitolite):

#!/bin/bash
# -- use this as a post-receive hook

while read old new ref
do
    echo $(date +%F %T): Successful push by $USER of $ref from $old to $new
done >> push-log.txt