Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
90c713d2
Commit
90c713d2
authored
May 16, 2011
by
Felix Schäfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Recognize git Repositories of the form 'identifier.git' in the apache perl module.
parent
c51eb705
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
Redmine.pm
extra/svn/Redmine.pm
+1
-0
No files found.
extra/svn/Redmine.pm
View file @
90c713d2
...
...
@@ -481,6 +481,7 @@ sub get_project_identifier {
my
$location
=
$r
->
location
;
my
(
$identifier
)
=
$r
->
uri
=~
m{$location/*([^/]+)}
;
$identifier
=~
s/\.git$//
if
(
defined
$cfg
->
{
RedmineGitSmartHttp
}
and
$cfg
->
{
RedmineGitSmartHttp
});
$identifier
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment