Files
woodpecker/server/model
6543 6460b4c96d On Repo update, keep old "Clone" if update would empty it (#1170) (#1195)
fixed #1169 

after debugging, I found that:
if `Clone` in database is empty, before

https://github.com/woodpecker-ci/woodpecker/blob/master/server/api/hook.go#L128,
the `repo.Clone` be always unset, so clone is failed.

This PR makes the empty `Clone` can't overwrite the value in database.

Co-authored-by: 想出网名啦 <a15315862177@163.com>
2022-09-19 00:18:24 +02:00
..
2021-11-13 20:18:06 +01:00
2022-01-31 15:38:39 +01:00
2021-12-01 14:22:06 +01:00
2021-11-13 20:18:06 +01:00
2021-12-11 02:37:40 +01:00
2021-11-13 20:18:06 +01:00
2022-01-09 03:47:31 +01:00
2021-11-13 20:18:06 +01:00
2021-11-13 20:18:06 +01:00
2022-01-31 15:38:39 +01:00
2021-11-25 19:04:36 +01:00
2021-11-13 20:18:06 +01:00
2021-11-13 20:18:06 +01:00
2022-01-05 21:50:23 +01:00
2021-11-13 20:18:06 +01:00