Skip to content

Commit

Permalink
gitweb: Make use of the $git_dir variable at sub git_get_project_url_…
Browse files Browse the repository at this point in the history
…list

Signed-off-by: Bruno Ribas <ribas@c3sl.ufpr.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Bruno Ribas authored and Junio C Hamano committed Feb 8, 2008
1 parent 0520e21 commit 201945e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ sub git_get_project_url_list {
my $path = shift;

$git_dir = "$projectroot/$path";
open my $fd, "$projectroot/$path/cloneurl"
open my $fd, "$git_dir/cloneurl"
or return wantarray ?
@{ config_to_multi(git_get_project_config('url')) } :
config_to_multi(git_get_project_config('url'));
Expand Down

0 comments on commit 201945e

Please sign in to comment.