commands/uploader: exit iff lfs.allowincompletepush is false
This commit is contained in:
parent
d68e1ec408
commit
8b040ff190
@ -326,9 +326,13 @@ func (c *uploadContext) Await() {
|
|||||||
for name, oid := range corrupt {
|
for name, oid := range corrupt {
|
||||||
Print(" (corrupt) %s (%s)", name, oid)
|
Print(" (corrupt) %s (%s)", name, oid)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !c.allowMissing {
|
||||||
|
os.Exit(2)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(c.tq.Errors()) > 0 {
|
if len(others) > 0 {
|
||||||
os.Exit(2)
|
os.Exit(2)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user