2022-03-10 14:08:51 +01:00
|
|
|
= highlight-diffpatch
|
|
|
|
:showtitle:
|
|
|
|
:project: highlight-diffpatch
|
|
|
|
:uri-base: https://schlomp.space/tastytea/{project}
|
|
|
|
:uri-branch-main: {uri-base}/src/branch/main
|
|
|
|
:uri-license: {uri-branch-main}/LICENSE
|
|
|
|
:uri-man: {uri-branch-main}/man/{project}.1.adoc
|
|
|
|
|
|
|
|
*highlight-diffpatch* highlights diff-ed patches. It is licensed under the
|
|
|
|
link:{uri-license}[AGPL-3.0-only].
|
|
|
|
|
|
|
|
== Usage
|
|
|
|
|
2022-03-10 14:48:10 +01:00
|
|
|
[source,shell]
|
2022-03-10 14:08:51 +01:00
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
git show --color=always HEAD | highlight-diffpatch
|
|
|
|
git config --global core.pager "diff-highlight | highlight-diffpatch | less --tabs=4 -RFX"
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
2022-03-10 14:47:38 +01:00
|
|
|
image::https://schlomp.space/tastytea/highlight-diffpatch/raw/branch/main/screenshot.webp[Screenshot]
|
|
|
|
|
2022-03-10 14:08:51 +01:00
|
|
|
== Install
|
|
|
|
|
|
|
|
[source,shell]
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
cmake -S . -B build
|
|
|
|
cmake --build build --parallel
|
|
|
|
sudo cmake --install build
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
include::{uri-base}/raw/branch/main/CONTRIBUTING.adoc[]
|