aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-02-19 09:54:04 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-02-19 09:54:04 +0300
commit164699163718a73a273b86f67a16d3807bccda0e (patch)
treeba73b76bcfbb497d617c8f5f9a5a278bcb49585e
parentd023532c557aee024e698baa7e8b44ae63a390fb (diff)
display 8 (rather than 7) characters of the extension commit hash in the installed extensions table
-rw-r--r--modules/extensions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extensions.py b/modules/extensions.py
index 1975fca1..3eef9eaf 100644
--- a/modules/extensions.py
+++ b/modules/extensions.py
@@ -44,7 +44,7 @@ class Extension:
self.status = 'unknown'
head = repo.head.commit
ts = time.asctime(time.gmtime(repo.head.commit.committed_date))
- self.version = f'{head.hexsha[:7]} ({ts})'
+ self.version = f'{head.hexsha[:8]} ({ts})'
except Exception:
self.remote = None