0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-26 19:46:49 +01:00
gitea/models
Sina Siadat ae1650824c Set IsBare true if migrated repo is empty.
Executes `git log -1` and sets IsBare to true if stderr contains this
string:

  fatal: bad default revision 'HEAD'
2015-09-07 02:20:51 +04:30
..
cron
migrations
access.go
action.go #1544 better tmp dir name for creating repo 2015-09-03 04:44:20 -04:00
admin.go
error.go PR: nothing to commit and has pull request check 2015-09-02 05:09:12 -04:00
git_diff.go
issue.go #1545 prevent duplicated refs of issues in single commit 2015-09-03 04:34:08 -04:00
login.go #1542 A way to skip TLS verify for SMTP authentication 2015-08-29 15:45:58 +08:00
models_sqlite.go
models.go #1569 force InnoDB for MySQL 2015-09-03 05:05:58 -04:00
oauth2.go
org.go #1193 Make organization emails non-mandatory 2015-09-06 10:08:14 -04:00
publickey.go
release.go
repo.go Set IsBare true if migrated repo is empty. 2015-09-07 02:20:51 +04:30
token.go #842 able to use access token replace basic auth 2015-09-02 02:40:15 -04:00
update.go
user.go #1193 Make organization emails non-mandatory 2015-09-06 10:08:14 -04:00
webhook_slack.go
webhook.go