diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-09-14 17:02:44 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-09-19 11:56:41 -0300 |
commit | 9c7908624abf838aa0b14a7f94161fe5f753f958 (patch) | |
tree | cc940f635798797d0c1f31a92f888666d2c421da /test/fs/macro-blacklist.profile | |
parent | .git-blame-ignore-revs: change format to hash then info (diff) | |
download | firejail-9c7908624abf838aa0b14a7f94161fe5f753f958.tar.gz firejail-9c7908624abf838aa0b14a7f94161fe5f753f958.tar.zst firejail-9c7908624abf838aa0b14a7f94161fe5f753f958.zip |
.git-blame-ignore-revs: add Landlock v1 commits
Commands used to find and print the relevant commits:
$ TZ=UTC0 git log --date='format-local:%Y-%m-%d' \
--pretty='%H # %cd | %s' 60db9f785~1..60db9f785 |
grep 'Revert "';
git log --reverse --pretty=%b 60db9f785~1..60db9f785 |
sed -E -n 's/^This reverts commit ([0-9a-z]+).*/\1/p' |
TZ=UTC0 xargs git show --date='format-local:%Y-%m-%d' \
--pretty='%H # %cd | %s' -s | grep -v 'Merge pull request';
TZ=UTC0 git log --no-merges --date='format-local:%Y-%m-%d' \
--pretty='%H # %cd | %s' 54cb3e741~1..54cb3e741
Explanation: The first `git log` basically takes the revision range from
one commit before a given merge commit until the merge commit itself and
prints the commits in that range (which should usually mean all commits
that were in the branch that was merged). In this case, it's the
commits that do the revert.
The second `git log` finds the hash of all commits that were reverted
and prints them.
The `grep -v` and third `git log` are only needed because the merge
commit of the original branch was reverted directly (on commit
97874c3bf), rather than reverting each individual commit on that branch.
So these commands are used to print all of the commits in the original
branch.
Relates to #5315 #5347.
Diffstat (limited to 'test/fs/macro-blacklist.profile')
0 files changed, 0 insertions, 0 deletions