We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7cac7d commit d7a7590Copy full SHA for d7a7590
src/Gitonomy/Git/Reference/Stash.php
@@ -19,4 +19,8 @@
19
*/
20
class Stash extends Reference
21
{
22
+ public function getName()
23
+ {
24
+ return 'stash';
25
+ }
26
}
src/Gitonomy/Git/Reference/Tag.php
@@ -24,8 +24,8 @@ class Tag extends Reference
public function getName()
27
- if (!preg_match('#^refs/tags/(.*)$#', $this->fullname, $vars)) {
28
- throw new RuntimeException(sprintf('Cannot extract tag name from "%s"', $this->fullname));
+ if (!preg_match('#^refs/tags/(.*)$#', $this->revision, $vars)) {
+ throw new RuntimeException(sprintf('Cannot extract tag name from "%s"', $this->revision));
29
30
31
return $vars[1];
0 commit comments