Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
epm
git
Commits
ea997a0b
Commit
ea997a0b
authored
Apr 16, 2017
by
Marius David Wieschollek
Browse files
Added release changes
parent
b89545cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
.build/usr/share/doc/epm-git/changelog
View file @
ea997a0b
epm-git (0.7.0) stable; urgency=low
* Added git clone on project checkout
* Compatibility with EPM 0.7
-- Marius David Wieschollek <epm@mdns.eu> Mon, 17 Apr 2017 12:00:00 +0100
epm-git (0.6.2) stable; urgency=low
* Updated Hooks
...
...
Classes/Utility/GitUtility.php
View file @
ea997a0b
...
...
@@ -96,14 +96,14 @@ class GitUtility {
*/
public
function
getOriginUrl
():
?string
{
try
{
$origin
=
$this
->
shellFactory
->
getLocalShell
()
->
addCommand
(
$this
->
commandUtility
->
makeCommand
(
'git'
)
->
addArgument
(
'remote'
)
->
addArgument
(
'get-url'
)
->
addArgument
(
'origin'
)
)
->
execute
(
true
);
$origin
=
$this
->
shellFactory
->
getLocalShell
()
->
addCommand
(
$this
->
commandUtility
->
makeCommand
(
'git'
)
->
addArgument
(
'remote'
)
->
addArgument
(
'get-url'
)
->
addArgument
(
'origin'
)
)
->
execute
(
true
);
return
trim
(
$origin
);
return
trim
(
$origin
);
}
catch
(
\
Throwable
$e
)
{
return
null
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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