Fix --authdate date parsing (other formats)
[stgit/kha.git] / contrib / stg-show-old
blobacf4e7c33832e9f3a2655ed974abc4c4d6ff6ba0
1 #!/bin/sh
2 set -e
4 # stg-show-old - mini helper to look at the previous version of a
5 # patch (current one by default)
7 # Copyright (c) 2006-2007 Yann Dirson <ydirson@altern.org>
8 # Subject to the GNU GPL, version 2.
10 [ "$#" -le 1 ] || { echo >&2 "Usage: $(basename $0) [<patch>]"; exit 1; }
11 patch="$1"
13 stg show "${patch}//top.old"