diff --git a/models/repo.go b/models/repo.go
index 6e45367c0..a44bf69ad 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -267,6 +267,7 @@ const (
 )
 
 type RepoFile struct {
+	Id      *git.Oid
 	Type    int
 	Name    string
 	Message string
@@ -303,6 +304,7 @@ func GetReposFiles(userName, reposName, treeName, rpath string) ([]*RepoFile, er
 		entry := tree.EntryByIndex(i)
 
 		repofiles = append(repofiles, &RepoFile{
+			entry.Id,
 			entry.Filemode,
 			entry.Name,
 			lastCommit.Message(),
diff --git a/templates/repo/single.tmpl b/templates/repo/single.tmpl
index 42e09b9a2..c83fcd93c 100644
--- a/templates/repo/single.tmpl
+++ b/templates/repo/single.tmpl
@@ -6,7 +6,7 @@
     <h4>Source Files:</h4>
     <ul>
     {{range .Files}}
-        <li>{{.Name}} - {{.Message}} - {{.Created}} - {{.IsFile}} - {{.IsDir}}</li>
+        <li>{{.Name}} - {{.Id}} - {{.Message}} - {{.Created}} - {{.IsFile}} - {{.IsDir}}</li>
     {{end}}
     </ul>
 </div>