From 140eee7d03840f18b0690ff3cca081ff12995af0 Mon Sep 17 00:00:00 2001 From: Tim Clem Date: Mon, 14 Mar 2011 22:07:10 -0600 Subject: [PATCH] cleanup, remove old code --- Classes/GTBranch.h | 2 +- Classes/GTBranch.m | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Classes/GTBranch.h b/Classes/GTBranch.h index d1111ff0e..59f0d29b3 100644 --- a/Classes/GTBranch.h +++ b/Classes/GTBranch.h @@ -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 // diff --git a/Classes/GTBranch.m b/Classes/GTBranch.m index bcacaadfe..8502772b9 100644 --- a/Classes/GTBranch.m +++ b/Classes/GTBranch.m @@ -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]; }