Skip to content
This repository has been archived by the owner on Feb 1, 2018. It is now read-only.
/ Git-Glog Public archive

Spicey git-log with a hint of gravatars, nutmeg and cinnamon

Notifications You must be signed in to change notification settings

moshen/Git-Glog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git-Glog

Git::Glog is a perl module which provides the script git-glog.

git-glog is a perl wrapper around git-log that displays gravatars in your 256 color terminal.

INSTALLATION

To install this module from cpan:

cpan -i Git::Glog

or

cpanm Git::Glog

To install this module from source, run the following commands:

perl Build.PL
./Build
./Build test
./Build install

USAGE

git glog [options] [-- git-log options]

 Options:
   --help|-h            brief help message
   --width|-w           set the width of the output ascii
   --dir|-d             directory to fetch/store ascii gravatars

Please see: man git-glog

SETTINGS

git-glog will attempt to read your git settings for the following:

  • glog.dir

    The directory to store and read ascii gravatars from. Default is $HOME/.git-glog/

    git config --global --add glog.dir $HOME/.git-glog
    

    To take a peek at the stored ascii gravatars, try:

    cat $(git config --get glog.dir)/* | gunzip | less -R
    

    or

    cat ~/.git-glog/* | gunzip | less -R
    

EXAMPLES

A fancy git log:

git glog -- --stat --summary --pretty=fuller

CAVEATS

git may complain of a non-zero exit code if git-glog does not complete. This will probably occur if the log is generated from a large repository or is left completely open ended ( no from... to ).

Right now the output is piped to less -R ( when STDOUT is a tty ). FYI.

WHY ON EARTH WOULD YOU MAKE THIS?

Because I thought it would be fun. It was.

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the perldoc commands.

perldoc Git::Glog
perldoc git-glog

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright (C) 2011 Colin Kennedy

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

About

Spicey git-log with a hint of gravatars, nutmeg and cinnamon

Resources

Stars

Watchers

Forks

Packages

No packages published