diff options
Diffstat (limited to 'models/action.go')
-rw-r--r-- | models/action.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/action.go b/models/action.go index f97ecfcde3..46ce44e26b 100644 --- a/models/action.go +++ b/models/action.go @@ -309,7 +309,7 @@ func CommitRepoAction(userId, repoUserId int64, userName, actEmail string, return errors.New("action.CommitRepoAction(GetRepositoryByName): " + err.Error()) } repo.IsBare = false - if err = UpdateRepository(repo); err != nil { + if err = UpdateRepository(repo, false); err != nil { return errors.New("action.CommitRepoAction(UpdateRepository): " + err.Error()) } |