Skip to content

Commit

Permalink
Move PureGitTrackedFile>>#gtVersionsFor: from iceberg-git-cli to gt4git
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvc committed Nov 4, 2024
1 parent cb8b9e5 commit cfd5043
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/Iceberg-Git-CLI/PureGitTrackedFile.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -109,21 +109,6 @@ PureGitTrackedFile >> file: aGitFile [
file := aGitFile
]

{ #category : #'as yet unclassified' }
PureGitTrackedFile >> gtVersionsFor: aView [
<gtView>
^ aView columnedList
title: 'Versions';
items: [ self versions ];
column: 'Index' text: [ :each | each versionNumber ] width: 50;
column: 'Timestamp' text: [ :each | (ZTimestampFormat fromString: '2001-02-03 16:05') format: each commit timestamp ] width: 110;
column: 'Commit' text: [ :each | each commit shortId ] width: 100;
column: 'Author' text: [ :each | each commit author ] width: 100;
column: 'Comment' text: [ :each | each commit comment firstLineWithEllipsis ];
column: 'Delta' text: [ :each | each commit numberOfLinesChangedDescription ] width: 50;
column: 'Lines count' text: [ :each | each lines size ] width: 50
]

{ #category : #'as yet unclassified' }
PureGitTrackedFile >> maxLinesCount [
^ self versions max: [:each | each lines size]
Expand Down

0 comments on commit cfd5043

Please sign in to comment.