Commit 0adb63e9abf05a3fcd9092f7dead2cd8e5e4c470
- Date: Sat Apr 12 15:43:15 +0000 2008
- Committer: Johan Sørensen (johan@johansorensen.com)
- Author: Johan Sørensen (johan@johansorensen.com)
- Commit SHA1: 0adb63e9abf05a3fcd9092f7dead2cd8e5e4c470
- Tree SHA1: 269eeb301e51a57a7cc3e7746514a182d3b12647
Always show the author in the commit infobox, just for consistencys sake
also updated the TODO
Commit diff
| |   |
| 1 | 1 | (in no particular order) |
| 2 | 2 | |
| 3 | ** Repository#commit_graph_data_by_author should just use git-shortlog summary instead of jumping through hoops about it |
| 4 | |
| 3 | 5 | > If you do `git archive --format=tar --prefix=myproject/ HEAD | gzip > |
| 4 | 6 | > myproject.tar.gz`, when .gitattributes specifies files that have |
| 5 | 7 | > export-subst, it will expand keywords such as $Format:%cd$. Gitorious' |
| toggle raw diff |
--- a/TODO.txt
+++ b/TODO.txt
@@ -1,5 +1,7 @@
(in no particular order)
+** Repository#commit_graph_data_by_author should just use git-shortlog summary instead of jumping through hoops about it
+
> If you do `git archive --format=tar --prefix=myproject/ HEAD | gzip >
> myproject.tar.gz`, when .gitattributes specifies files that have
> export-subst, it will expand keywords such as $Format:%cd$. Gitorious' |
| |   |
| 1 | 1 | <ul class="infobox"> |
| 2 | 2 | <li><strong>Date:</strong> <%=h @commit.committed_date -%></li> |
| 3 | 3 | <li><strong>Committer:</strong> <%=h @commit.committer.name -%> (<%=h @commit.committer.email -%>)</li> |
| 4 | | <% unless @commit.author.email == @commit.committer.email -%> |
| 5 | 4 | <li><strong>Author:</strong> <%=h @commit.author.name -%> (<%=h @commit.author.email -%>)</li> |
| 6 | | <% end -%> |
| 7 | 5 | <li><strong>Commit SHA1:</strong> <%=h @commit.id -%></li> |
| 8 | 6 | <li><strong>Tree SHA1:</strong> <%= link_to h(@commit.tree.id), |
| 9 | 7 | project_repository_tree_path(@project, @repository, @commit.id) -%></li> |
| toggle raw diff |
--- a/app/views/commits/_commit_infobox.html.erb
+++ b/app/views/commits/_commit_infobox.html.erb
@@ -1,9 +1,7 @@
<ul class="infobox">
<li><strong>Date:</strong> <%=h @commit.committed_date -%></li>
<li><strong>Committer:</strong> <%=h @commit.committer.name -%> (<%=h @commit.committer.email -%>)</li>
- <% unless @commit.author.email == @commit.committer.email -%>
<li><strong>Author:</strong> <%=h @commit.author.name -%> (<%=h @commit.author.email -%>)</li>
- <% end -%>
<li><strong>Commit SHA1:</strong> <%=h @commit.id -%></li>
<li><strong>Tree SHA1:</strong> <%= link_to h(@commit.tree.id),
project_repository_tree_path(@project, @repository, @commit.id) -%></li> |