#!/bin/sh tag="$1" cd "$(git rev-parse --show-toplevel)" git filter-branch -f \ --msg-filter "git_bug.msg-filter.awk -v tag='BUG: https://bugzilla.samba.org/show_bug.cgi?id=$1'" \ $2