Created
June 15, 2009 22:11
-
-
Save pieter/130381 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 69759e74645d1939186fb4e2a5d3d9628b2c031f Mon Sep 17 00:00:00 2001 | |
From: Pieter de Bie <frimmirf+gitx@gmail.com> | |
Date: Mon, 15 Jun 2009 23:09:29 +0100 | |
Subject: [PATCH] PBGitConfig: Add missing sentinel | |
--- | |
PBGitConfig.m | 2 +- | |
1 files changed, 1 insertions(+), 1 deletions(-) | |
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 | |
-- | |
1.6.3.2+GitX |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment