.git-blame-ignore-revs 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. # SPDX-FileCopyrightText: 2024 Christina Sørensen
  2. # SPDX-License-Identifier: EUPL-1.2
  3. # This file contains a list of commits that are not likely what you
  4. # are looking for in a blame, such as mass reformatting or renaming.
  5. # You can set this file as a default ignore file for blame by running
  6. # the following command.
  7. #
  8. # $ git config blame.ignoreRevsFile .git-blame-ignore-revs
  9. #
  10. # To temporarily not use this file add
  11. # --ignore-revs-file=""
  12. # to your blame command.
  13. #
  14. # The ignoreRevsFile can't be set globally due to blame failing if the file isn't present.
  15. # To not have to set the option in every repository it is needed in,
  16. # save the following script in your path with the name "git-bblame"
  17. # now you can run
  18. # $ git bblame $FILE
  19. # to use the .git-blame-ignore-revs file if it is present.
  20. #
  21. # #!/usr/bin/env bash
  22. # repo_root=$(git rev-parse --show-toplevel)
  23. # if [[ -e $repo_root/.git-blame-ignore-revs ]]; then
  24. # git blame --ignore-revs-file="$repo_root/.git-blame-ignore-revs" $@
  25. # else
  26. # git blame $@
  27. # fi
  28. # treewide rustfmt https://github.com/eza-community/eza/pull/405
  29. 0e06409b07f060e3afe1c099c4c54e6504847ee0
  30. # initial powertests https://github.com/eza-community/eza/pull/644/commits
  31. 2273e29bc006baeb76795ae40c7b8b76f61c6f26
  32. 4f949fc9bbb1e387b489ad841af56e7be448bef3