Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Síle Ekaterin Liszka
Chessa
Commits
e43dd961
Commit
e43dd961
authored
May 09, 2022
by
Kiyoshi Aman
Browse files
Chessa::Bug{,::Adelie}: fix thinko
parent
ef896426
Changes
2
Hide whitespace changes
Inline
Side-by-side
scripts/Chessa/Bug.pm
View file @
e43dd961
...
...
@@ -118,7 +118,7 @@ sub parse {
$sigil
=
quotemeta
'
$
';
}
case
(
/@[a-fA-F0-9]{7,}/
)
{
$type
=
'
commit
';
$type
=
'
commit
s
';
$sigil
=
quotemeta
'
@
';
}
default
{
...
...
@@ -126,7 +126,7 @@ sub parse {
}
}
(
$project
,
$num
)
=
split
/$sigil/
,
$word
;
if
(
$type
eq
'
commit
')
{
if
(
$type
eq
'
commit
s
')
{
$num
=~
s/^([a-fA-F0-9]+).*/$1/
;
}
else
{
$num
=~
s/^(\d+).*/$1/
;
...
...
scripts/Chessa/Bug/Adelie.pm
View file @
e43dd961
...
...
@@ -116,7 +116,7 @@ sub handle {
$func
=
\
&issue
;
}
case
('
merge_requests
')
{
$func
=
\
&mr
;
}
case
('
commit
')
{
}
case
('
commit
s
')
{
$base
.=
'
repository/
';
$func
=
\
&commit
;
}
case
('
snippets
')
{
...
...
Write
Preview
Supports
Markdown
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