From d4ed8c76b16b01762bebb473f360a3ff9c24537f Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 25 Jun 2020 14:01:21 -0700 Subject: [PATCH] Ignore [minor] commits when tracking edit date for index page. --- voussoir.net/writing/generate_site.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/voussoir.net/writing/generate_site.py b/voussoir.net/writing/generate_site.py index 5d4a723..54efb46 100644 --- a/voussoir.net/writing/generate_site.py +++ b/voussoir.net/writing/generate_site.py @@ -61,6 +61,8 @@ def git_file_edited_date(path): '-1', '--pretty=format:%ad', '--date=short', + r'--grep=\[minor\]', + '--invert-grep', '--', path, ]