X-Git-Url: https://projects.mako.cc/source/beamer-mako/blobdiff_plain/d664c8fe28e1635a23eedc1f57f24a5ae772b9fa..refs/heads/master:/template/resources/vc-git?ds=sidebyside 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