mirror of
https://github.com/go-gitea/gitea
synced 2025-07-14 14:37:20 +00:00
#1896 fatal when no needed update task
This commit is contained in:
@ -42,10 +42,8 @@ func runUpdate(c *cli.Context) {
|
||||
log.GitLogger.Fatal(2, "refName is empty, shouldn't use")
|
||||
}
|
||||
|
||||
uuid := os.Getenv("uuid")
|
||||
|
||||
task := models.UpdateTask{
|
||||
UUID: uuid,
|
||||
UUID: os.Getenv("uuid"),
|
||||
RefName: args[0],
|
||||
OldCommitID: args[1],
|
||||
NewCommitID: args[2],
|
||||
|
Reference in New Issue
Block a user