Skip to content

Commit 7dce623

Browse files
committed
Issue #37: even more minimal style
1 parent 65244ec commit 7dce623

1 file changed

Lines changed: 11 additions & 14 deletions

File tree

src/GsDevKit_stones-Core.package/GDKProjectSet.class/instance/cloneOrUpdateProject.remoteName.in.preview.pull..st

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cloneOrUpdateProject: projectDirName remoteName: remoteName in: gitRootPath prev
2727
cr;
2828
nextPutAll: 'Project ' , projectName printString;
2929
cr;
30-
nextPutAll: '===================='.
30+
nextPutAll: '-------------------------------'.
3131
gitProjectRef exists
3232
ifTrue: [
3333
(Rowan gitTools gitstatusIn: gitProjectRef fullName with: '--porcelain') isEmpty
@@ -144,24 +144,21 @@ cloneOrUpdateProject: projectDirName remoteName: remoteName in: gitRootPath prev
144144
preview
145145
ifTrue: [
146146
revision = currentBranchName
147-
ifFalse: [
147+
ifTrue: [
148148
stdout
149149
cr;
150-
nextPutAll: '***************************';
151-
cr;
152-
nextPutAll: 'Current BRANCHNAME: ' , currentBranchName;
153-
cr;
154-
nextPutAll: '------ Preview FETCH,';
150+
nextPutAll: '------ FETCH and PULL ' , currentBranchName";
155151
cr;
156-
nextPutAll: '***';
157-
tab;
158-
nextPutAll: 'SWITCH TO ' , revision , ' FROM ' , currentBranchName;
152+
nextPutAll: '***************************' "]
153+
ifFalse: [
154+
stdout
155+
"cr;
156+
nextPutAll: '***************************';"
159157
cr;
160-
tab;
161-
nextPutAll: ' and PULL';
162-
nextPutAll: ' ' , revision;
158+
nextPutAll: '------ FETCH, SWITCH TO ' , revision , ' FROM ' , currentBranchName,' and PULL';
159+
nextPutAll: ' ' , revision";
163160
cr;
164-
nextPutAll: '***************************' ] ] ] ] ].
161+
nextPutAll: '***************************' "] ] ] ] ].
165162
cloned
166163
ifTrue: [
167164
"GIT REMOTE ADD"

0 commit comments

Comments
 (0)