-
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
5fc9d42
commit c0a180f
Showing
7 changed files
with
15 additions
and
17 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
Iceberg.package/IceAbstractCommitWalk.class/instance/uptoBranches..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 @@ | ||
walk definition | ||
uptoBranches: branches | ||
^ branches do: [ :branch | self uptoBranch: branch ] |
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,4 +1,7 @@ | ||
commits | ||
ownCommits | ||
"Return the commits that are only in this branch." | ||
^ self backend commitsOnlyIn: self name | ||
^ self repository newCommitWalk | ||
fromBranch: self; | ||
uptoBranches: self repository localBranches; | ||
commits. |
10 changes: 0 additions & 10 deletions
10
Iceberg.package/IceMCGitRepository.class/instance/commitsOnlyIn..st
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
Iceberg.package/IceMCGitRepository.class/instance/localBranchNames.st
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
Iceberg.package/IceMCGitRepository.class/instance/localBranches.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,5 @@ | ||
querying | ||
localBranches | ||
^ (self command: 'branch') lines | ||
reject: [ :line | line matchesRegex: '\* \(detached from (.*)\)' ] | ||
thenCollect: [ :line | IceBranch named: (line allButFirst: 2) inRepository: self frontend ] |
3 changes: 0 additions & 3 deletions
3
Iceberg.package/IceRepository.class/instance/localBranchNames.st
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
Iceberg.package/IceRepository.class/instance/localBranches.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 @@ | ||
querying | ||
localBranches | ||
^ self backend localBranches |