autotagging: fix a tiny quirk, and document autotagging properly
[guilt.git] / regression / bin / dump_reg
blob6297eee022c3e6ed1de25535dea52e7b362d6d31
1 #!/bin/sh
3 if [ $# -ne 1 ]; then
4 echo "ERROR"
5 exit 1
6 fi
8 if [ -d "$1" ]; then
9 echo "d $1"
10 elif [ -f "$1" ]; then
11 echo "f `sha1sum "$1"`"
12 else
13 echo "? $1"