|
Warning: this is an htmlized version!
The original is here, and the conversion rules are here. |
#!/bin/bash
# This file:
# http://anggtwu.net/bin/eevgitlib2.sh.html
# http://anggtwu.net/bin/eevgitlib2.sh
# (find-angg "bin/eevgitlib2.sh")
# Author: Eduardo Ochs <eduardoochs@gmail.com>
#
# This file extends
# (find-angg "bin/eevgitlib1.sh")
# with a few more functions.
#
# (defun g1 () (interactive) (find-angg "bin/eevgitlib1.sh"))
# (defun g2 () (interactive) (find-angg "bin/eevgitlib2.sh"))
#
# «.eval» (to "eval")
. ~/bin/eevgitlib1.sh ;# (find-angg "bin/eevgitlib1.sh")
gsh () { git show -s --date=format:'%Y-%m-%d %k:%M:%S' --format='%h %ad %s' $*; }
gsh2 () { echo "$1: $(gsh $1)"; }
# (find-es "git" "emacs31-from-git")
# (find-es "git" "git-show-format")
: <<'%%%%%'
* (eepitch-bash)
* (eepitch-kill)
* (eepitch-bash)
. ~/bin/eevgitlib2.sh
cd /tmp/eev-g/
gsh2 HEAD
gsh2 HEAD~1
%%%%%
# «eval» (to ".eval")
# (find-angg ".emacs" "find-gitdiag")
eval $1
: <<'%%%%%'
* (eepitch-bash)
* (eepitch-kill)
* (eepitch-bash)
cd /tmp/eev-g/
~/bin/eevgitlib2.sh "gsh2 HEAD"
%%%%%
# Local Variables:
# mode: sh
# End: