diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-04-24 23:19:57 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-04-24 23:21:40 +0200 |
commit | 96f48ebd97c19384f487c8a9c4cf474705ce1e37 (patch) | |
tree | f042516a671b1bf8502ef46ed3040c5775168692 /emacs.d/lisp/magit/bin | |
parent | fc1c79470a57357da25aed54aa1a04471b343aff (diff) | |
download | dotfiles-96f48ebd97c19384f487c8a9c4cf474705ce1e37.tar.gz dotfiles-96f48ebd97c19384f487c8a9c4cf474705ce1e37.tar.xz dotfiles-96f48ebd97c19384f487c8a9c4cf474705ce1e37.zip |
emacs.d/lisp/magit: version bump
Diffstat (limited to 'emacs.d/lisp/magit/bin')
-rwxr-xr-x | emacs.d/lisp/magit/bin/authors.pl | 6 | ||||
-rwxr-xr-x | emacs.d/lisp/magit/bin/mk_rel.bash | 13 |
2 files changed, 19 insertions, 0 deletions
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 |