Browse Source

Fixed reflog author

tags/v1.3.0
James Moger 11 years ago
parent
commit
8dc3d07ff7
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/main/java/com/gitblit/models/RefLogEntry.java

+ 3
- 0
src/main/java/com/gitblit/models/RefLogEntry.java View File

@@ -330,6 +330,9 @@ public class RefLogEntry implements Serializable, Comparable<RefLogEntry> {
}
public PersonIdent getAuthorIdent() {
if (getAuthorCount() == 1) {
return getCommits().get(0).getAuthorIdent();
}
return getCommitterIdent();
}

Loading…
Cancel
Save