Skip to content

Commit

Permalink
Added some context actions to PureGitMethodVersions>>#gtViewVersionsIn:
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvc committed Nov 6, 2024
1 parent 1f9022e commit 1c11d58
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/GToolkit4Git/PureGitMethodVersions.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,15 @@ PureGitMethodVersions >> gtViewVersionsIn: composite [
column: 'timestamp' text: [ :each | timestampFormat format: each key timeStamp timestamp ] weight: 0.4;
column: 'author' text: [ :each | each key timeStamp author ];
column: 'comment' text: [ :each | each key timeStamp comment ] weight: 2.0;
contextItemLabel: 'Inspect diff'
action: [ :element :item |
BlTaskAction
enqueueElement: element
action: [ element phlow spawnObject: item value ] ];
contextItemLabel: 'Inspect commit'
action: [ :element :item |
BlTaskAction
enqueueElement: element
action: [ element phlow spawnObject: item key timeStamp ] ];
send: #value
]

0 comments on commit 1c11d58

Please sign in to comment.