diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-09-14 16:43:21 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-09-19 11:54:26 -0300 |
commit | 7178981bcf40bd7889e9fac92f202a1345e5465f (patch) | |
tree | c74486647d2ae8acdd2db8e20d764aaa1cb99bfb /.git-blame-ignore-revs | |
parent | .git-blame-ignore-revs: put more recent commits first (diff) | |
download | firejail-7178981bcf40bd7889e9fac92f202a1345e5465f.tar.gz firejail-7178981bcf40bd7889e9fac92f202a1345e5465f.tar.zst firejail-7178981bcf40bd7889e9fac92f202a1345e5465f.zip |
.git-blame-ignore-revs: change format to hash then info
Command used to generate the entries in the new format:
$ TZ=UTC0 git show --date='format-local:%Y-%m-%d' \
--pretty='%H # %cd | %s' -s f43382f1e fe0f975f4
Put the committer date ("%cd") and commit message subject ("%s") as a
comment right after the commit hash ("%H"). The pipe ("|") is intended
to improve readability.
This format looks more similar to the output of `git log --oneline` and
should make it easier to visually parse long lists. It also allows more
hashes to fit into the same amount of lines (at the cost of longer
lines).
Use committer date ("%cd") instead of author date ("%ad") as the former
tells when a commit actually landed on master. This usually matches the
topological order, which should make it easier to verify that all of the
relevant commits are listed (and that there are no extraneous commits).
Use --date + "%cd" instead of just "%ci" because the former can be used
to ensure that the date is always printed in the same timezone (UTC).
Diffstat (limited to '.git-blame-ignore-revs')
-rw-r--r-- | .git-blame-ignore-revs | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs index 85e4bda18..9e40738a1 100644 --- a/.git-blame-ignore-revs +++ b/.git-blame-ignore-revs | |||
@@ -1,4 +1,13 @@ | |||
1 | # Revert "move whitelist/blacklist to allow/deny" | 1 | # Note: Entries (and sections) should be listed in topological order (that is, |
2 | f43382f1e9707b4fd5e63c7bfe881912aa4ee994 | 2 | # in the same order that is shown by `git log --oneline`) and they can be |
3 | # move whitelist/blacklist to allow/deny | 3 | # generated with one of the following commands: |
4 | fe0f975f447d59977d90c3226cc8c623b31b20b3 | 4 | # |
5 | # TZ=UTC0 git show --date='format-local:%Y-%m-%d' --pretty='%H # %cd | %s' -s | ||
6 | # [<commit>...] | ||
7 | # | ||
8 | # TZ=UTC0 git log --date='format-local:%Y-%m-%d' --pretty='%H # %cd | %s' | ||
9 | # [<revision-range>] | ||
10 | |||
11 | # "move whitelist/blacklist to allow/deny" | ||
12 | f43382f1e9707b4fd5e63c7bfe881912aa4ee994 # 2021-07-18 | Revert "move whitelist/blacklist to allow/deny" | ||
13 | fe0f975f447d59977d90c3226cc8c623b31b20b3 # 2021-07-05 | move whitelist/blacklist to allow/deny | ||