git-date-added and set wildignorecase

This commit is contained in:
Andrew Tomaka 2014-12-18 10:17:11 -05:00
parent 21439d603c
commit e71daf2711
3 changed files with 10 additions and 0 deletions

View file

@ -31,3 +31,11 @@ function map-sshfs {
function gitignore-io {
curl https://www.gitignore.io/api/$@
}
function git-date-added {
if [ $# -eq 0 ]; then
echo Usage: git-date-added FILENAME
else
git log --format=%aD $1 | tail -1
fi
}