Bugzilla – Attachment 177739 Details for
Bug 39096
Add "tidy all" commits to a git blame ignore file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39096: Add 'tidy all' commits to a git blame ignore file
Bug-39096-Add-tidy-all-commits-to-a-git-blame-igno.patch (text/plain), 1.36 KB, created by
Jonathan Druart
on 2025-02-11 15:28:26 UTC
(
hide
)
Description:
Bug 39096: Add 'tidy all' commits to a git blame ignore file
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-02-11 15:28:26 UTC
Size:
1.36 KB
patch
obsolete
>From a07f1b3ff7c23e2221482b78f06efac7d20a6f5d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 11 Feb 2025 16:24:08 +0100 >Subject: [PATCH] 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? >--- > .git-blame-ignore-revs | 5 +++++ > 1 file changed, 5 insertions(+) > create mode 100644 .git-blame-ignore-revs > >diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs >new file mode 100644 >index 00000000000..91d0fe6caee >--- /dev/null >+++ b/.git-blame-ignore-revs >@@ -0,0 +1,5 @@ >+# Bug 38664: (re)Tidy the .vue files - 'semi: true' >+8fb859060036dd0a14130ef37f9ea53524ec9178 >+ >+# Bug 38664: Tidy the whole codebase >+d659526b5ae3363de6dc7691a782a45aaf781a46 >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39096
: 177739