-the red fox jumped into the leaf +the brown fox dashed into the leaf --------------------------------------- -Deploying from branch BRANCH to stage STAGE Awesome! +Deploying to stage STAGE from branch BRANCH Awesome! --------------------------------------- -foo bar baz barf +foo baz bar barf --------------------------------------- -foo bar moo baz barf +foo bar baz barf --------------------------------------- -foo bar baz barf +foo bar moo baz barf --------------------------------------- - return {bounds:[from,to],good:good}; + var ret = {bounds:[from,to],good:good}; + Controller.log_("computeSelection: from: "+from.outerHTML); + Controller.log_("computeSelection: {bounds:["+from+","+to+"],good: "+good+" }"); + return ret; --------------------------------------- -whitespace +whitespace --------------------------------------- - tab indent to spaces + tab indent to spaces --------------------------------------- - a = "hello"; - b = "world"; - c = a + " " + b; + if (true) { + a = "hello"; + b = "world"; + c = a + " " + b; + } --------------------------------------- - n = n.replace(/</g, "&lt;"); - n = n.replace(/>/g, "&gt;"); + if (true) { + n = n.replace(/</g, "&lt;"); + n = n.replace(/>/g, "&gt;"); + } --------------------------------------- - NSString* installationPath = @"/usr/local/bin/gitx"; + NSString* installationPath = @"/usr/local/bin/"; + NSString* installationName = @"gitx"; --------------------------------------- - char const* arguments[] = { "-f", "-s", [toolPath UTF8String], [installationPath UTF8String], NULL }; + char const* mkdir_arg[] = { "-p", [installationPath UTF8String], NULL}; + char const* mkdir = "/bin/mkdir"; + AuthorizationExecuteWithPrivileges(auth, mkdir, kAuthorizationFlagDefaults, (char**)mkdir_arg, NULL); + char const* arguments[] = { "-f", "-s", [toolPath UTF8String], [[installationPath stringByAppendingString: installationName] UTF8String], NULL };