cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit e2372b72836cbe366637823a366dbfeea1fa1c6e
parent 6e78c844f82fd0cf8a70230037135e0f1fe790cd
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri,  1 May 2020 21:02:32 +0300

contrib: add kiss-changelog

Diffstat:
Acontrib/kiss-changelog | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/contrib/kiss-changelog b/contrib/kiss-changelog @@ -0,0 +1,15 @@ +#!/bin/sh -e + +# Print the git log of the specific package + +[ "$1" ] || { + printf '\033[1;33m-> \033[musage: %s [pkg]\n' "${0##*/}" + exit 0 +} + +kiss s "$1" >/dev/null +cd "$(kiss s "$1" | sed 1q)" + +# Pipe to cat so it doesn't automatically paged +# by git. +git log --format='<%as> [%an] %s - %h' . | cat