-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also include changes for the last few commits that have not been released at this point. Closes #62.
- Loading branch information
Showing
6 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
change-log | ||
changeLog | ||
^ { | ||
'Warnings about uncommitted changes before merging only occur when not up-to-date.'. | ||
'The list of branches, remote branches, etc. is now a tree. Hover over the root nodes to get an explanation.'. | ||
'A change log is shown after a self-update (the one you are currently seeing :)).'. | ||
} |
4 changes: 3 additions & 1 deletion
4
src/GitS-Core.package/GSSelfUpdater.class/class/postInstallVersion..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
self-updating | ||
postInstallVersion: aString | ||
self installedVersion: (self getShaOfVersion: aString). | ||
self | ||
installedVersion: (self getShaOfVersion: aString); | ||
showChangeLog. |
17 changes: 17 additions & 0 deletions
17
src/GitS-Core.package/GSSelfUpdater.class/class/showChangeLog.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
change-log | ||
showChangeLog | ||
| log notShown | | ||
log := self changeLog. | ||
notShown := log copyWithFirst: self shownChangeLogLength. | ||
notShown ifEmpty: [^ self]. | ||
self inform: (String streamContents: [:stream | | ||
stream | ||
nextPutAll: 'Change log since your last update of git-s:'; | ||
cr. | ||
notShown do: [:each | | ||
stream | ||
nextPutAll: '* '; | ||
nextPutAll: each key; | ||
nextPut: Character tab; | ||
nextPutAll: each value; | ||
cr]]). |
3 changes: 3 additions & 0 deletions
3
src/GitS-Core.package/GSSelfUpdater.class/class/shownChangeLogLength.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
change-log | ||
shownChangeLogLength | ||
^ ShownChangeLogLength ifNil: [0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters