Skip to content

Commit

Permalink
Review #239 - More spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanj committed Sep 20, 2013
1 parent 60b6edd commit 2670f38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Classes/git/PBGitRepository.m
Original file line number Diff line number Diff line change
Expand Up @@ -584,15 +584,15 @@ - (void)enumerateStashesUsingBlock:(void (^)(PBGitStash *stash, BOOL *stop))bloc

- (NSArray *) stashes
{
NSMutableArray * stashes = [NSMutableArray array];
NSMutableArray *stashes = [NSMutableArray array];
[self enumerateStashesUsingBlock:^(PBGitStash *stash, BOOL *stop) {
[stashes addObject:stash];
}];
return [NSArray arrayWithArray:stashes];
}

- (PBGitStash *)stashForRef:(PBGitRef *)ref {
__block PBGitStash * found = nil;
__block PBGitStash *found = nil;
[self enumerateStashesUsingBlock:^(PBGitStash *stash, BOOL *stop) {
if ([stash.ref isEqualToRef:ref]) {
found = stash;
Expand Down Expand Up @@ -640,8 +640,8 @@ -(BOOL)stashSave
-(BOOL)stashSaveWithKeepIndex:(BOOL)keepIndex
{
int retValue;
NSArray * arguments = @[@"stash", @"save", keepIndex?@"--keep-index":@"--no-keep-index"];
NSString * output = [self outputInWorkdirForArguments:arguments retValue:&retValue];
NSArray *arguments = @[@"stash", @"save", keepIndex?@"--keep-index":@"--no-keep-index"];
NSString *output = [self outputInWorkdirForArguments:arguments retValue:&retValue];
[self willChangeValueForKey:@"stashes"];
[self didChangeValueForKey:@"stashes"];
if (retValue) {
Expand Down

0 comments on commit 2670f38

Please sign in to comment.