Skip to content

Commit c25d91c

Browse files
committed
Really fix gitweb URLs this time.
Ok, this is correct now. :-)
1 parent 543bfab commit c25d91c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hooks/post-receive.d/99gitnotify

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,8 @@ sub git_send_notice($$)
215215
{
216216
push @notice,
217217
"URL: "
218-
. "$gitweb_baseurl/$notify_repository/?a=tag;"
219-
. "h=$object;p=$notify_repository.git";
218+
. "$gitweb_baseurl/?p=$notify_repository.git;a=tag;"
219+
. "h=$object";
220220
}
221221
push @notice,
222222
"Tagger: " .
@@ -247,8 +247,8 @@ sub git_send_notice($$)
247247
{
248248
push @notice,
249249
"URL: "
250-
. "$gitweb_baseurl/$notify_repository/?a=commit;"
251-
. "h=$object;p=$notify_repository.git";
250+
. "$gitweb_baseurl/?p=$notify_repository.git;a=commit;"
251+
. "h=$object";
252252
}
253253
push @notice,
254254
"Author: " . $info{'author'},

0 commit comments

Comments
 (0)