diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-08-12 11:22:53 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-08-12 11:22:53 +0000 |
commit | 805beb4a9cc64ff030bbbc1c9aa3d9adc8f0dd39 (patch) | |
tree | 49b586995baa0ac520beeae1ee996eaaa1dfcf04 /git-girf.1 | |
parent | 399a16c200c2560f5e7b9dade517873709f4f0d0 (diff) | |
download | git-girf-805beb4a9cc64ff030bbbc1c9aa3d9adc8f0dd39.tar git-girf-805beb4a9cc64ff030bbbc1c9aa3d9adc8f0dd39.tar.gz git-girf-805beb4a9cc64ff030bbbc1c9aa3d9adc8f0dd39.tar.bz2 git-girf-805beb4a9cc64ff030bbbc1c9aa3d9adc8f0dd39.tar.lz git-girf-805beb4a9cc64ff030bbbc1c9aa3d9adc8f0dd39.tar.xz git-girf-805beb4a9cc64ff030bbbc1c9aa3d9adc8f0dd39.tar.zst git-girf-805beb4a9cc64ff030bbbc1c9aa3d9adc8f0dd39.zip |
git-girf.1: add
Diffstat (limited to 'git-girf.1')
-rw-r--r-- | git-girf.1 | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/git-girf.1 b/git-girf.1 new file mode 100644 index 0000000..5405075 --- /dev/null +++ b/git-girf.1 @@ -0,0 +1,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 |