... | ... |
@@ -85,10 +85,11 @@ EOS |
85 | 85 |
|
86 | 86 |
for my $commit (reverse @$commits) { |
87 | 87 |
my $author_uri = url_for->base->to_abs . "/$user"; |
88 |
+ my $link_href = url_for->base->to_abs . "/$user/$project/commit/$commit->{id}"; |
|
88 | 89 |
$xml .= <<"EOS"; |
89 | 90 |
<entry> |
90 | 91 |
<id>tag:gitprep,2008:Grit::Commit/$commit->{id}</id> |
91 |
- <link type="text/html" rel="alternate" href="https://github.com/kraih/mojo/commit/9efcd268fd08c8e0f2418278aec31c44906e1be3"/> |
|
92 |
+ <link type="text/html" rel="alternate" href="$link_href"/> |
|
92 | 93 |
<title> |
93 | 94 |
$commit->{title} |
94 | 95 |
</title> |