Skip to content

Commit

Permalink
chore: Limit commit hash length to seven characters in website
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Aug 7, 2024
1 parent 28ebfec commit 64f40d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/chezmoi.io/docs/reference/release-history.md.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
| replaceAllRegex "\\(#(\\d+)[)]" "(https://github.com/twpayne/chezmoi/pull/$1)"
| replaceAllRegex "(https://github\\.com/twpayne/chezmoi/pull/(\\d+))" "[#$2]($1)"
| replaceAllRegex "(?m)^([0-9a-f]{7,})" "* $1"
| replaceAllRegex "(?m)^\\* ([0-9a-f]{7,})" "* [`$1`](https://github.com/twpayne/chezmoi/commit/$1)"
| replaceAllRegex "(?m)^\\* (([0-9a-f]{7})[0-9a-f]*)" "* [`$2`](https://github.com/twpayne/chezmoi/commit/$1)"
| replaceAllRegex "\\r\\n" "\\n"
| trim
| default "Internal changes only"
Expand Down

0 comments on commit 64f40d9

Please sign in to comment.