Skip to content

Commit 69759e7

Browse files
author
Pieter de Bie
committed
PBGitConfig: Add missing sentinel
1 parent 46740dc commit 69759e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PBGitConfig.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ - (void) setValue:(id)value forKeyPath:(NSString *)path
7979

8080
// Check if it exists globally. In that case, write it as a global
8181

82-
NSArray *arguments = [NSArray arrayWithObjects:@"config", @"--global", @"--get", path];
82+
NSArray *arguments = [NSArray arrayWithObjects:@"config", @"--global", @"--get", path, nil];
8383
int ret;
8484
[PBEasyPipe outputForCommand:[PBGitBinary path] withArgs:arguments inDir:nil retValue:&ret];
8585
if (!ret) // It exists globally

0 commit comments

Comments
 (0)