public Commit ( string authorName, string authorEmail, string comment, DateTime localTime ) : bool | ||
authorName | string | |
authorEmail | string | |
comment | string | |
localTime | DateTime | |
Результат | bool |
private bool CommitChangeset(GitWrapper git, Changeset changeset) { var result = false; AbortRetryIgnore(delegate { result = git.AddAll() && git.Commit(changeset.User, GetEmail(changeset.User), changeset.Comment ?? DefaultComment, changeset.DateTime); }); return(result); }
private bool CommitChangeset(GitWrapper git, Changeset changeset) { string comment = changeset.Comment ?? this.DefaultComment; if (string.IsNullOrEmpty(comment)) { comment = "** " + GetComment(changeset, 155); } var result = false; AbortRetryIgnore(delegate { result = git.AddAll() && git.Commit(changeset.User, GetEmail(changeset.User), comment ?? DefaultComment, changeset.DateTime); }); return(result); }
private bool CommitChangeset(GitWrapper git, Changeset changeset) { var result = false; AbortRetryIgnore(delegate { result = git.AddAll() && git.Commit(changeset.User, GetEmail(changeset.User), changeset.Comment ?? DefaultComment, changeset.DateTime); }); return result; }