diff --git a/PBGitCommit.m b/PBGitCommit.m index f60d1b1..2812907 100644 --- a/PBGitCommit.m +++ b/PBGitCommit.m @@ -49,7 +49,9 @@ if (_patch != nil) return _patch; - _patch = [repository outputForArguments:[NSArray arrayWithObjects:@"format-patch", @"-1", @"--stdout", sha, nil]]; + NSString *p = [repository outputForArguments:[NSArray arrayWithObjects:@"format-patch", @"-1", @"--stdout", sha, nil]]; + // Add a GitX identifier to the patch ;) + _patch = [[p substringToIndex:[p length] -1] stringByAppendingString:@"+GitX"]; return _patch; }