We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents daae73a + a239922 commit fd84719Copy full SHA for fd84719
PBGitIndex.m
@@ -240,7 +240,7 @@ - (void)commitWithMessage:(NSString *)commitMessage andVerify:(BOOL) doVerify
240
hookOutput];
241
}
242
243
- if (![repository executeHook:@"commit-msg" withArgs:[NSArray arrayWithObject:commitMessageFile] output:nil]) {
+ if (![repository executeHook:@"commit-msg" withArgs:[NSArray arrayWithObject:commitMessageFile] output:&hookOutput]) {
244
hookFailureMessage = [NSString stringWithFormat:@"Commit-msg hook failed%@%@",
245
[hookOutput length] > 0 ? @":\n" : @"",
246
0 commit comments