20
0

Changing to relative location of vc-git.awk

This commit is contained in:
Jeremy Foote
2017-05-16 14:09:54 -05:00
committed by Benjamin Mako Hill
parent df243815bf
commit cc07c90b5f

View File

@@ -17,7 +17,7 @@ while [ -n "$(echo $1 | grep '-')" ]; do
done done
# English locale. # English locale.
LC_ALL=C 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 ] if [ "$mod" = 1 ]
then then
git status |gawk -v script=status -f ~/bin/vc-git.awk >> vc git status |gawk -v script=status -f ~/bin/vc-git.awk >> vc