com karma: Revert "Removed the .git part of the repository name as specified by the methods docblock.": lib/Git/ReceiveHook.php
| From: | David Soria Parra | Date: | Tue, 20 Mar 2012 08:53:08 +0000 |
| Subject: | com karma: Revert "Removed the .git part of the repository name as specified by the methods docblock.": lib/Git/ReceiveHook.php | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-68036@lists.php.net to get a copy of this message | ||
Commit: a4725e5a641dcbf29b7392d0e3918c5b4ac77a80
Author: David Soria Parra(dsp@php.net) Tue, 20 Mar 2012 09:41:38 +0100
Committer: David Soria Parra(dsp@php.net) Tue, 20 Mar 2012 09:41:38 +0100
Parents: 3bacfbd956538305c8f604271071d839ecb1f559
Link: http://git.php.net/?p=karma;a=commitdiff;h=a4725e5a641dcbf29b7392d0e3918c5b4ac77a80
Log:
Revert "Removed the .git part of the repository name as specified by the methods
docblock."
This reverts commit 3586d1c6652ce0f202daa2894d7862ff4e698140.
Changed paths:
M lib/Git/ReceiveHook.php
Diff:
a4725e5a641dcbf29b7392d0e3918c5b4ac77a80
diff --git a/lib/Git/ReceiveHook.php b/lib/Git/ReceiveHook.php
index 294bb27..b526e9a 100644
--- a/lib/Git/ReceiveHook.php
+++ b/lib/Git/ReceiveHook.php
@@ -47,7 +47,7 @@ abstract class ReceiveHook
*/
public function getRepositoryName()
{
- return preg_replace('@\.git$@', '', $this->repositoryName);
+ return $this->repositoryName;
}
/**