From: Jeremy Foote Date: Tue, 16 May 2017 19:09:54 +0000 (-0500) Subject: Changing to relative location of vc-git.awk X-Git-Url: https://projects.mako.cc/source/beamer-mako/commitdiff_plain Changing to relative location of vc-git.awk --- diff --git a/template/resources/vc-git b/template/resources/vc-git index 557a573..8625f6e 100755 --- a/template/resources/vc-git +++ b/template/resources/vc-git @@ -17,7 +17,7 @@ while [ -n "$(echo $1 | grep '-')" ]; do done # English locale. LC_ALL=C -git --no-pager log -1 HEAD --pretty=format:"Hash: %H%nAbr. Hash: %h%nParent Hashes: %P%nAbr. Parent Hashes: %p%nAuthor Name: %an%nAuthor Email: %ae%nAuthor Date: %ai%nCommitter Name: %cn%nCommitter Email: %ce%nCommitter Date: %ci%n" |gawk -v script=log -v full=$full -f ~/bin/vc-git.awk > vc +git --no-pager log -1 HEAD --pretty=format:"Hash: %H%nAbr. Hash: %h%nParent Hashes: %P%nAbr. Parent Hashes: %p%nAuthor Name: %an%nAuthor Email: %ae%nAuthor Date: %ai%nCommitter Name: %cn%nCommitter Email: %ce%nCommitter Date: %ci%n" |gawk -v script=log -v full=$full -f ./resources/vc-git.awk > vc if [ "$mod" = 1 ] then git status |gawk -v script=status -f ~/bin/vc-git.awk >> vc