(ctx *uploadContext, refnames []string)
| 88 | } |
| 89 | |
| 90 | func uploadsBetweenRefAndRemote(ctx *uploadContext, refnames []string) { |
| 91 | tracerx.Printf("Upload refs %v to remote %v", refnames, ctx.Remote) |
| 92 | |
| 93 | updates, err := lfsPushRefs(refnames, pushAll) |
| 94 | if err != nil { |
| 95 | Error(err.Error()) |
| 96 | Exit(tr.Tr.Get("Error getting local refs.")) |
| 97 | } |
| 98 | |
| 99 | if err := uploadForRefUpdates(ctx, updates, pushAll); err != nil { |
| 100 | ExitWithError(err) |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | func uploadsWithObjectIDs(ctx *uploadContext, oids []string) { |
| 105 | pointers := make([]*lfs.WrappedPointer, len(oids)) |
no test coverage detected