Skip to content

Commit

Permalink
Rename gitHubURL to gitHUbWebUrl and add PureGitRemote>>#gitHubWebUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvc committed Nov 6, 2024
1 parent 636616c commit 1f9022e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GToolkit4Git/PureGitCommit.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ PureGitCommit >> gtDetails [
{ 'comment'
. self comment firstLineWithEllipsis
. self comment }.
{ 'URL' . self gitHubURL ifNil: [ '' ] }.
{ 'github web url' . self gitHubWebUrl ifNil: [ '' ] }.
}
]

Expand Down
3 changes: 2 additions & 1 deletion src/GToolkit4Git/PureGitRemote.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ PureGitRemote >> gtBranchesFor: composite [
PureGitRemote >> gtDetails [
^ super gtDetails , {
{ 'name' . self name }.
{ 'url' . self url . self gitUrl }
{ 'url' . self url . self gitUrl }.
{ 'github web url' . self gitHubWebUrl ifNil: [ '' ] }
}
]
4 changes: 4 additions & 0 deletions src/GToolkit4Git/PureGitUrl.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ PureGitUrl >> gtDetails [
details := details , {
{ 'host name' . self hostname }
} ].
self gitHubWebUrl ifNotNil: [ :gitHubWebUrl |
details := details , {
{ 'github web url' . gitHubWebUrl }
} ].
^ details
]

Expand Down

0 comments on commit 1f9022e

Please sign in to comment.