This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
if [ -z "${1}" ] | |
then | |
commit="$( git merge-base master "$( git rev-parse --abbrev-ref HEAD )" )" | |
read -p $'Type a commit number such that all diff lines containing `theorem/def` | |
correspond to deprecated declarations (use '"'${commit}'"' otherwise): | |
' comm | |
[ -n "${comm}" ] && commit=${comm} | |
else |