From 69759e74645d1939186fb4e2a5d3d9628b2c031f Mon Sep 17 00:00:00 2001 From: Pieter de Bie Date: Mon, 15 Jun 2009 23:09:29 +0100 Subject: [PATCH] PBGitConfig: Add missing sentinel --- PBGitConfig.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBGitConfig.m b/PBGitConfig.m index 3d4f156..9166cc4 100644 --- a/PBGitConfig.m +++ b/PBGitConfig.m @@ -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