Skip to content

Commit

Permalink
cleanup, remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
tclem committed Mar 15, 2011
1 parent 09d9936 commit 140eee7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion Classes/GTBranch.h
Expand Up @@ -47,7 +47,7 @@

+ (id)branchFromCurrentBranchInRepository:(GTRepository *)repo error:(NSError **)error;

// Get the most recent commit in this repository
// Get the target commit for this branch
//
// error(out) - will be filled if an error occurs
//
Expand Down
6 changes: 0 additions & 6 deletions Classes/GTBranch.m
Expand Up @@ -139,12 +139,6 @@ - (NSString *)sha {

- (GTCommit *)targetCommitAndReturnError:(NSError **)error {

//[self.repository.walker reset];
// [self.repository.walker setSortingOptions:GTWalkerOptionsTopologicalSort];
// BOOL success = [self.repository.walker push:self.reference.target error:error];
// if(!success) return nil;
//
// return [self.repository.walker next];
return (GTCommit *)[self.repository lookupBySha:self.sha error:error];
}

Expand Down

0 comments on commit 140eee7

Please sign in to comment.