projects
/
beamer-mako
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d664c8f
)
Changing to relative location of vc-git.awk
master
author
Jeremy Foote
<jdfoote1@gmail.com>
Tue, 16 May 2017 19:09:54 +0000
(14:09 -0500)
committer
Benjamin Mako Hill
<mako@atdot.cc>
Wed, 17 May 2017 02:02:24 +0000
(19:02 -0700)
template/resources/vc-git
patch
|
blob
|
history
diff --git
a/template/resources/vc-git
b/template/resources/vc-git
index 557a57317823a385cbc2b9c10fe5594832359f49..8625f6e2aecbdd613d4bb557bb7a3fbf82bab18e 100755
(executable)
--- 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
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
if [ "$mod" = 1 ]
then
git status |gawk -v script=status -f ~/bin/vc-git.awk >> vc
Benjamin Mako Hill
||
Want to submit a patch?