summary refs log tree commit diff
path: root/git-girf.1
blob: 54050756c0e3b1c4e93a4925aaf0648efb290698 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.\" SPDX-FileCopyrightText: 2021 Alyssa Ross <hi@alyssa.is>
.\" SPDX-License-Identifier: EUPL-1.2 OR CC-BY-SA-4.0
.Dd $Mdocdate$
.Dt GIT-GIRF 1
.Os
.Sh NAME
.Nm git-girf
.Nd generate an
.Dq ignore refs file
for git blame
.Sh SYNOPSIS
.Nm
.Ar prog...
.Sh DESCRIPTION
For every non-merge commit in the history, compare the standard output
of running
.Ar command
with each changed file as standard input, before and after the
commit's changes.  Print the commit hash for each commit where the
output has not changed for any file.  This output is suitable to be
used with the
.Fl --ignore-revs-file
argument of
.Xr git-blame 1 .
.Sh EXIT STATUS
.Ex -std
.Sh EXAMPLES
.Dl $ git girf nixpkgs-fmt > .git-blame-ignore-revs
.Sh SEE ALSO
.Xr git-blame 1 ,
.Xr git-config 1