commands: rename scanLeftOrAll to uploadLeftOrAll

This commit is contained in:
Taylor Blau 2016-12-29 15:00:45 -07:00
parent 52138d2a98
commit 5aa5a175cb
2 changed files with 3 additions and 3 deletions

@ -76,7 +76,7 @@ func prePushCommand(cmd *cobra.Command, args []string) {
continue
}
if err := scanLeftOrAll(gitscanner, ctx, left); err != nil {
if err := uploadLeftOrAll(gitscanner, ctx, left); err != nil {
Print("Error scanning for Git LFS files in %q", left)
ExitWithError(err)
}

@ -35,7 +35,7 @@ func uploadsBetweenRefAndRemote(ctx *uploadContext, refnames []string) {
}
for _, ref := range refs {
if err = scanLeftOrAll(gitscanner, ctx, ref.Name); err != nil {
if err = uploadLeftOrAll(gitscanner, ctx, ref.Name); err != nil {
Print("Error scanning for Git LFS files in the %q ref", ref.Name)
ExitWithError(err)
}
@ -44,7 +44,7 @@ func uploadsBetweenRefAndRemote(ctx *uploadContext, refnames []string) {
ctx.Await()
}
func scanLeftOrAll(g *lfs.GitScanner, ctx *uploadContext, ref string) error {
func uploadLeftOrAll(g *lfs.GitScanner, ctx *uploadContext, ref string) error {
var multiErr error
cb := func(p *lfs.WrappedPointer, err error) {
if err != nil {