Skip to content

Commit

Permalink
Avoid using a branch's commit history (see #140).
Browse files Browse the repository at this point in the history
  • Loading branch information
npasserini committed Oct 24, 2016
1 parent 7ad96f0 commit 403331c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
walk definition
uptoBranch: anIceBranch
self uptoCommit: anIceBranch lastCommit
5 changes: 4 additions & 1 deletion Iceberg.package/IceBranch.class/instance/commitsNotIn..st
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
commits
commitsNotIn: anotherBranch
^ self commits copyWithoutAll: anotherBranch commits
^ self repository newCommitWalk
fromBranch: self;
uptoBranch: anotherBranch;
commits
4 changes: 2 additions & 2 deletions Iceberg.package/IceBranch.class/properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"name",
"repository",
"versionDictionary",
"commits",
"loading" ],
"loading",
"commits" ],
"name" : "IceBranch",
"pools" : [
],
Expand Down

0 comments on commit 403331c

Please sign in to comment.