Summary: | Add "tidy all" commits to a git blame ignore file | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Architecture, internals, and plumbing | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | Needs Signoff --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | schodkowy.omegi-0r |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Bug Depends on: | 38664 | ||
Bug Blocks: | |||
Attachments: | Bug 39096: Add 'tidy all' commits to a git blame ignore file |
Description
Jonathan Druart
2025-02-11 15:23:45 UTC
Created attachment 177739 [details] [review] Bug 39096: Add 'tidy all' commits to a git blame ignore file To get a relevant blame we want to exclude some commits from bug 38664. Test plan: 0. Do not apply this patch 1. % git blame C4/Auth.pm (or other file) Notice that there is a lot of reference to bug 38664 (you can see it with the author "Koha Development Team") 2. Apply this patch 3. Tell git to use this new file: % git config blame.ignoreRevsFile .git-blame-ignore-revs Repeat 1. => There are way less refs to "Koha Development Team" Before: % git blame C4/Auth.pm|grep "Koha Development Team" | wc -l 454 After: % git blame C4/Auth.pm|grep "Koha Development Team" | wc -l 29 QA: Do we add the `git config` command that to ktd so devs won't need to do it? |