public static CherryPickCmd ( string cherry, bool commit ) : string | ||
cherry | string | |
commit | bool | |
return | string |
public static string CherryPickCmd(string cherry, bool commit)
{
if (commit)
return "cherry-pick \"" + cherry + "\"";
return "cherry-pick --no-commit \"" + cherry + "\"";
}