NAME
git - Greple git module
SYNOPSIS
greple -Mgit ...
DESCRIPTION
App::Greple::git is a greple module to handle git output.
OPTIONS
-
--color-blame-line, --color-blame
-
--color-blame-label
Read git-blame(1) output and apply unique color for each commit id. Option --color-blame and --color-blame-line colorize whole line, while --color-blame-label does only labels.
Set
$HOME/.gitconfiglike this:[pager] blame = greple -Mgit --color-blame-line | env LESSANSIENDCHARS=mK less -cR
-
--color-header-by-author
Colorize the commit header in a different color based on the author field.
-
--color-header-by-field field
Generic version of log header colorization. Take a case-insensitive field name as a parameter. --color-header-by-author is defined as follows:
option --color-header-by-author --color-header-by-field Author
ENVIRONMENT
-
LESS
-
LESSANSIENDCHARS
Since greple produces ANSI Erase Line terminal sequence, it is convenient to set less command understand them.
LESS=-cR LESSANSIENDCHARS=mK
INSTALL
CPANMINUS
$ cpanm App::Greple::git
SEE ALSO
App::sdif: git diff support
AUTHOR
Kazumasa Utashiro
LICENSE
Copyright 2021-2023 Kazumasa Utashiro.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.