30 lines
1012 B
Plaintext
30 lines
1012 B
Plaintext
|
= 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
|
||
|
|
||
|
[source,]
|
||
|
--------------------------------------------------------------------------------
|
||
|
git show --color=always HEAD | highlight-diffpatch
|
||
|
git config --global core.pager "diff-highlight | highlight-diffpatch | less --tabs=4 -RFX"
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
== Install
|
||
|
|
||
|
[source,shell]
|
||
|
--------------------------------------------------------------------------------
|
||
|
cmake -S . -B build
|
||
|
cmake --build build --parallel
|
||
|
sudo cmake --install build
|
||
|
--------------------------------------------------------------------------------
|
||
|
|
||
|
include::{uri-base}/raw/branch/main/CONTRIBUTING.adoc[]
|