From 96f48ebd97c19384f487c8a9c4cf474705ce1e37 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 24 Apr 2012 23:19:57 +0200 Subject: emacs.d/lisp/magit: version bump --- emacs.d/lisp/magit/bin/authors.pl | 6 ++++++ emacs.d/lisp/magit/bin/mk_rel.bash | 13 +++++++++++++ 2 files changed, 19 insertions(+) create mode 100755 emacs.d/lisp/magit/bin/authors.pl create mode 100755 emacs.d/lisp/magit/bin/mk_rel.bash (limited to 'emacs.d/lisp/magit/bin') diff --git a/emacs.d/lisp/magit/bin/authors.pl b/emacs.d/lisp/magit/bin/authors.pl new file mode 100755 index 0000000..3e3559c --- /dev/null +++ b/emacs.d/lisp/magit/bin/authors.pl @@ -0,0 +1,6 @@ +#!/usr/bin/env perl + +# :-) + +/(\d{4}).*?_(.+)/&&\$a{$2}->{$1}for`git log --pretty=format:%aD_%an`; +print"Copyright (C) ".join(", ",sort keys %{$a{$_}})." $_.\n"for sort keys %a diff --git a/emacs.d/lisp/magit/bin/mk_rel.bash b/emacs.d/lisp/magit/bin/mk_rel.bash new file mode 100755 index 0000000..5cb662a --- /dev/null +++ b/emacs.d/lisp/magit/bin/mk_rel.bash @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +if [ -z "$1" ]; then + make dist +else + home_rev=$(git name-rev --name-only HEAD) + make clean + git checkout "$1" + make dist + git checkout "$home_rev" +fi \ No newline at end of file -- cgit v1.2.3