-
Notifications
You must be signed in to change notification settings - Fork 85
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
1 parent
fce4a8e
commit 24a078b
Showing
5 changed files
with
18 additions
and
14 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
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,5 +1,3 @@ | ||
commits | ||
outgoingCommits | ||
^ self upstream | ||
ifNotNil: [ self commitsNotIn: self upstream ] | ||
ifNil: [ self ownCommits ] | ||
^ self outgoingCommitsWalk commits |
10 changes: 10 additions & 0 deletions
10
Iceberg.package/IceBranch.class/instance/outgoingCommitsWalk.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,10 @@ | ||
commits | ||
outgoingCommitsWalk | ||
| walk | | ||
walk := self repository newCommitWalk fromBranch: self. | ||
self upstream | ||
ifNotNil: [ walk uptoBranch: self upstream ] | ||
ifNil: [ walk uptoBranches: ( | ||
self repository localBranches copyWithout: self) ]. | ||
|
||
^ walk. |
This file was deleted.
Oops, something went wrong.
6 changes: 2 additions & 4 deletions
6
Iceberg.package/IceSavedPackage.class/instance/outgoingCommits.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,7 +1,5 @@ | ||
querying | ||
outgoingCommits | ||
^ self repository newCommitWalk | ||
fromHead; | ||
uptoCommit: self repository currentBranch upstream lastCommit; | ||
^ self repository currentBranch outgoingCommitsWalk | ||
modifyingPackage: self; | ||
commits | ||
commits |