aboutsummaryrefslogtreecommitdiffstats
path: root/models/action.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-24 09:01:25 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-24 09:01:25 -0400
commitae92f92dee9007d1bef2db19331d9ee8f9883778 (patch)
treeea28e1a6d7a4af5cd9574d66416fd62ba6e0b35d /models/action.go
parent59bbddb3183c27cbb5fb7918cefd9bb3a763a410 (diff)
downloadgitea-ae92f92dee9007d1bef2db19331d9ee8f9883778.tar.gz
gitea-ae92f92dee9007d1bef2db19331d9ee8f9883778.zip
Locating issue
Diffstat (limited to 'models/action.go')
-rw-r--r--models/action.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/action.go b/models/action.go
index 1174929354..9471e9810e 100644
--- a/models/action.go
+++ b/models/action.go
@@ -92,10 +92,12 @@ func CommitRepoAction(userId int64, userName string,
// Update repository last update time.
repo, err := GetRepositoryByName(userId, repoName)
if err != nil {
+ log.Error("action.CommitRepoAction(GetRepositoryByName): %d/%s", userId, repo.LowerName)
return err
}
repo.IsBare = false
if err = UpdateRepository(repo); err != nil {
+ log.Error("action.CommitRepoAction(UpdateRepository): %d/%s", userId, repo.LowerName)
return err
}