]> source.dussan.org Git - gitea.git/commit
Update only the repository columns that need updating (#12900) (#12912)
authorzeripath <art27@cantab.net>
Mon, 21 Sep 2020 01:06:23 +0000 (02:06 +0100)
committerGitHub <noreply@github.com>
Mon, 21 Sep 2020 01:06:23 +0000 (09:06 +0800)
commit09178300b0569d18aae5f4f24f4f45ee096e8fe8
tree8389fbf13214b29fa28215882c037347417d3974
parent23aae3274a89fbefc8a02761fc5b4544981e6028
Update only the repository columns that need updating (#12900) (#12912)

Backport #12900

We should only update is_empty, default_branch and updated time columns
during commitRepoAction and not update other columns as we risk
overwriting incorrect information.

Fix #11823
Fix #10536

Signed-off-by: Andrew Thornton <art27@cantab.net>
modules/repofiles/action.go