RevList: Use passed on parameters on specifying commits

This commit is contained in:
Pieter de Bie
2008-09-08 20:21:57 +02:00
parent 5ceb62a0d5
commit 68bf7621ed
+3 -1
View File
@@ -57,7 +57,9 @@
NSMutableArray * newArray = [NSMutableArray array];
NSDate* start = [NSDate date];
NSFileHandle* handle = [repository handleForArguments:[NSArray arrayWithObjects:@"log", @"--topo-order", @"--pretty=format:%H\01%an\01%s\01%P\01%at", currentRef, nil]];
NSMutableArray* arguments = [NSMutableArray arrayWithObjects:@"log", @"--topo-order", @"--pretty=format:%H\01%an\01%s\01%P\01%at", currentRef, nil];
[arguments addObjectsFromArray:parameters];
NSFileHandle* handle = [repository handleForArguments: arguments];
int fd = [handle fileDescriptor];
FILE* f = fdopen(fd, "r");