PBGitConfig: Add missing sentinel

This commit is contained in:
Pieter de Bie
2009-06-15 23:09:29 +01:00
parent 46740dc3f3
commit 69759e7464
+1 -1
View File
@@ -79,7 +79,7 @@
// Check if it exists globally. In that case, write it as a global
NSArray *arguments = [NSArray arrayWithObjects:@"config", @"--global", @"--get", path];
NSArray *arguments = [NSArray arrayWithObjects:@"config", @"--global", @"--get", path, nil];
int ret;
[PBEasyPipe outputForCommand:[PBGitBinary path] withArgs:arguments inDir:nil retValue:&ret];
if (!ret) // It exists globally