-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
6 changes: 3 additions & 3 deletions
6
src/FileSystem-Git.package/GitStamp.class/class/requestEmail.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,8 +1,8 @@ | ||
accessing | ||
class initialization | ||
requestEmail | ||
self flag: 'this is basically a nightmare...'. | ||
((Smalltalk class canUnderstand: #isHeadless) and: [ Smalltalk isHeadless ]) | ||
ifTrue: [ self error: 'Please set the default email using GitStamp defaultEmail:' ]. | ||
^GitUI | ||
^ (GitUI | ||
request: 'Please provide a valid e-mail address for your Git commits so that you can be contacted if necessary.' | ||
initialAnswer: 'user@domain.ext' | ||
initialAnswer: 'user@domain.ext') withBlanksTrimmed |
6 changes: 3 additions & 3 deletions
6
src/FileSystem-Git.package/GitStamp.class/class/requestName.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,8 +1,8 @@ | ||
accessing | ||
class initialization | ||
requestName | ||
self flag: 'this is basically a nightmare...'. | ||
((Smalltalk class canUnderstand: #isHeadless) and: [ Smalltalk isHeadless ]) | ||
ifTrue: [ self error: 'Please set the default name using GitStamp defaultName:' ]. | ||
^GitUI | ||
^ (GitUI | ||
request: 'Please provide your full name for the authorship information of your Git commits.' | ||
initialAnswer: 'Firstname Lastname' | ||
initialAnswer: 'Firstname Lastname') withBlanksTrimmed |
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
4 changes: 2 additions & 2 deletions
4
src/Squot.package/SquotCommitWrapper.class/instance/setItem..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,8 +1,8 @@ | ||
initialization | ||
setItem: aCommit | ||
super setItem: aCommit. | ||
self string: ({ | ||
self string: (({ | ||
self formatTimeStamp: aCommit committer timeStamp. | ||
aCommit author name. | ||
(self decorationsFor: aCommit), (aCommit message lineNumber: 1). | ||
} joinSeparatedBy: Character tab). | ||
} collect: #withBlanksTrimmed) joinSeparatedBy: Character tab). |
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