Permalink
Browse files

fixed ahead/behind

  • Loading branch information...
1 parent 5c7ac29 commit dcefc6a3301ce67a5baf8620058c646b0b1317d8 @joshaber joshaber committed Mar 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/GTBranch.m
View
@@ -281,7 +281,7 @@ - (BOOL)calculateAhead:(size_t *)ahead behind:(size_t *)behind relativeTo:(GTBra
return YES;
}
- int errorCode = git_graph_ahead_behind(ahead, behind, self.repository.git_repository, self.reference.oid, branch.reference.oid);
+ int errorCode = git_graph_ahead_behind(ahead, behind, self.repository.git_repository, branch.reference.oid, self.reference.oid);
if (errorCode != GIT_OK && error != NULL) {
*error = [NSError git_errorFor:errorCode withAdditionalDescription:[NSString stringWithFormat:@"Calculating ahead/behind with %@ to %@", self, branch]];
return NO;

0 comments on commit dcefc6a

Please sign in to comment.