diff --git a/python/README.md b/python/README.md
index b8e4e13..ffd13d1 100644
--- a/python/README.md
+++ b/python/README.md
@@ -13,9 +13,9 @@ uv run https://tools.simonwillison.net/python/first_line_history.py ~/dev/datase
```
Output example:
```
-2017-11-13T10:41:53-08:00 e838bd # datasette
-2017-11-24T19:46:24-08:00 efb82d # Datasette
-2021-11-12T06:18:31-08:00 c92ab5
+2017-11-13T10:41:53-08:00 e838bd7 # datasette
+2017-11-24T19:46:24-08:00 efb82da # Datasette
+2021-11-12T06:18:31-08:00 c92ab51
```
## macos-windows.py
diff --git a/python/first_line_history.py b/python/first_line_history.py
index c06cd40..befe9c5 100644
--- a/python/first_line_history.py
+++ b/python/first_line_history.py
@@ -2,7 +2,7 @@
"""Print every change to the first line of a file across its git history.
Output format, one line per change (oldest first):
- <6-char-hash>
+ <7-char-hash>
"""
import os
import subprocess
@@ -107,7 +107,7 @@ def main(argv):
if first is None:
continue
if first != previous:
- print(f"{date} {sha[:6]} {first}")
+ print(f"{date} {sha[:7]} {first}")
previous = first
if not saw_any: