Skip to content

Instantly share code, notes, and snippets.

@kouphax
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kouphax/28275ff7fe6e98c3dd27 to your computer and use it in GitHub Desktop.
Save kouphax/28275ff7fe6e98c3dd27 to your computer and use it in GitHub Desktop.
Gource Mashup
#! /bin/bash
function clear {
rm *.log-r *.log 2> /dev/null
}
clear
REPOS=$(find . -maxdepth 1 -mindepth 1 -type d)
for REPO in $REPOS; do
gource --output-custom-log "$REPO.log" $REPO
sed -i -r "s/\|\//\|\/${REPO:2}\//g" "$REPO.log"
done
cat *.log | sort -n > combined.log
gource --fullscreen \
--seconds-per-day 2 \
--hide bloom \
combined.log
clear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment