(refs #437)Fix typo

Threre is more good function name, but i have no idea 😵
This commit is contained in:
Tomofumi Tanaka
2014-07-29 01:24:09 +09:00
parent 972628eb65
commit d2317d0a97
3 changed files with 3 additions and 3 deletions

View File

@@ -95,7 +95,7 @@ object JGitUtil {
} else None } else None
} }
def isDiffrentCommitter: Boolean = authorName != committerName || authorEmailAddress != committerEmailAddress def isDifferentFromAuthor: Boolean = authorName != committerName || authorEmailAddress != committerEmailAddress
} }
case class DiffInfo(changeType: ChangeType, oldPath: String, newPath: String, oldContent: Option[String], newContent: Option[String]) case class DiffInfo(changeType: ChangeType, oldPath: String, newPath: String, oldContent: Option[String], newContent: Option[String])

View File

@@ -70,7 +70,7 @@
<span>@user(commit.authorName, commit.authorEmailAddress, "username strong")</span> <span>@user(commit.authorName, commit.authorEmailAddress, "username strong")</span>
<span class="muted">authored on @datetime(commit.authorTime)</span> <span class="muted">authored on @datetime(commit.authorTime)</span>
</div> </div>
@if(commit.isDiffrentCommitter) { @if(commit.isDifferentFromAuthor) {
<div class="committer"> <div class="committer">
<span class="icon-arrow-right"></span> <span class="icon-arrow-right"></span>
<span>@user(commit.committerName, commit.committerEmailAddress, "username strong")</span> <span>@user(commit.committerName, commit.committerEmailAddress, "username strong")</span>

View File

@@ -49,7 +49,7 @@
<span>@user(latestCommit.authorName, latestCommit.authorEmailAddress, "username strong")</span> <span>@user(latestCommit.authorName, latestCommit.authorEmailAddress, "username strong")</span>
<span class="muted"> authored on @datetime(latestCommit.authorTime)</span> <span class="muted"> authored on @datetime(latestCommit.authorTime)</span>
</div> </div>
@if(latestCommit.isDiffrentCommitter) { @if(latestCommit.isDifferentFromAuthor) {
<div class="committer"> <div class="committer">
<span class="icon-arrow-right"></span> <span class="icon-arrow-right"></span>
<span>@user(latestCommit.committerName, latestCommit.committerEmailAddress, "username strong")</span> <span>@user(latestCommit.committerName, latestCommit.committerEmailAddress, "username strong")</span>