Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Shorter commit SHA on doc footer
Fixes #578
  • Loading branch information
AlexDaniel committed Jun 10, 2016
1 parent 2bd9117 commit 6f028bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Pod/Htmlify.pm6
Expand Up @@ -27,7 +27,7 @@ sub footer-html($pod-path) is export {
$pod-url = "<a href='https://github.com/perl6/doc/raw/master/doc/$pod-path'>$pod-path\</a\> from $gh-link";
}
$footer.subst-mutate(/SOURCEURL/, $pod-url);
state $source-commit = qx/git rev-parse HEAD/.chomp;
state $source-commit = qx/git rev-parse --short HEAD/.chomp;
$footer.subst-mutate(:g, /SOURCECOMMIT/, $source-commit);

return $footer;
Expand Down

0 comments on commit 6f028bd

Please sign in to comment.