2 # This is file 'vc' from the vc bundle for TeX.
3 # The original file can be found at CTAN:support/vc.
4 # This file is Public Domain.
6 # Parse command line options.
9 while [ -n "$(echo $1 | grep '-')" ]; do
13 * ) echo 'usage: vc [-f] [-m]'
20 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
23 git status |gawk -v script=status -f ~/bin/vc-git.awk >> vc