Skip to content

Commit

Permalink
Set package version to v3
Browse files Browse the repository at this point in the history
Since we're about to do a v3.0.0 release, let's bump the version to v3.

Make this change automatically with the following command to avoid any
missed items:

  git grep -l github.com/git-lfs/git-lfs/v2 | \
  xargs sed -i -e 's!github.com/git-lfs/git-lfs/v2!github.com/git-lfs/git-lfs/v3!g'
  • Loading branch information
bk2204 committed Sep 2, 2021
1 parent c6078ec commit 087db1d
Show file tree
Hide file tree
Showing 160 changed files with 427 additions and 427 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ mangen : commands/mancontent_gen.go
# 'commands' of Git LFS. It depends upon the contents of the 'docs' directory
# and converts those manpages into code.
commands/mancontent_gen.go : $(wildcard docs/man/*.ronn)
GOOS= GOARCH= $(GO) generate github.com/git-lfs/git-lfs/v2/commands
GOOS= GOARCH= $(GO) generate github.com/git-lfs/git-lfs/v3/commands

# Targets 'all' and 'build' build binaries of Git LFS for the above release
# matrix.
Expand Down
10 changes: 5 additions & 5 deletions commands/command_checkout.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"fmt"
"os"

"github.com/git-lfs/git-lfs/v2/filepathfilter"
"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v2/tasklog"
"github.com/git-lfs/git-lfs/v2/tq"
"github.com/git-lfs/git-lfs/v3/filepathfilter"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/git-lfs/git-lfs/v3/tasklog"
"github.com/git-lfs/git-lfs/v3/tq"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions commands/command_clean.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"io"
"os"

"github.com/git-lfs/git-lfs/v2/errors"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v2/tools"
"github.com/git-lfs/git-lfs/v3/errors"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/git-lfs/git-lfs/v3/tools"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions commands/command_clone.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"path/filepath"
"strings"

"github.com/git-lfs/git-lfs/v2/subprocess"
"github.com/git-lfs/git-lfs/v3/subprocess"

"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/tools"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/tools"
"github.com/spf13/cobra"
)

Expand Down
10 changes: 5 additions & 5 deletions commands/command_dedup.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"path/filepath"
"sync/atomic"

"github.com/git-lfs/git-lfs/v2/config"
"github.com/git-lfs/git-lfs/v2/errors"
"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v2/tools"
"github.com/git-lfs/git-lfs/v3/config"
"github.com/git-lfs/git-lfs/v3/errors"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/git-lfs/git-lfs/v3/tools"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions commands/command_env.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package commands

import (
"github.com/git-lfs/git-lfs/v2/config"
"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v3/config"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion commands/command_ext.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package commands
import (
"fmt"

"github.com/git-lfs/git-lfs/v2/config"
"github.com/git-lfs/git-lfs/v3/config"
"github.com/spf13/cobra"
)

Expand Down
10 changes: 5 additions & 5 deletions commands/command_fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"os"
"time"

"github.com/git-lfs/git-lfs/v2/filepathfilter"
"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v2/tasklog"
"github.com/git-lfs/git-lfs/v2/tq"
"github.com/git-lfs/git-lfs/v3/filepathfilter"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/git-lfs/git-lfs/v3/tasklog"
"github.com/git-lfs/git-lfs/v3/tq"
"github.com/rubyist/tracerx"
"github.com/spf13/cobra"
)
Expand Down
10 changes: 5 additions & 5 deletions commands/command_filter_process.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import (
"strings"
"sync"

"github.com/git-lfs/git-lfs/v2/errors"
"github.com/git-lfs/git-lfs/v2/filepathfilter"
"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v2/tq"
"github.com/git-lfs/git-lfs/v3/errors"
"github.com/git-lfs/git-lfs/v3/filepathfilter"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/git-lfs/git-lfs/v3/tq"
"github.com/git-lfs/pktline"
"github.com/spf13/cobra"
)
Expand Down
10 changes: 5 additions & 5 deletions commands/command_fsck.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"path/filepath"
"strings"

"github.com/git-lfs/git-lfs/v2/errors"
"github.com/git-lfs/git-lfs/v2/filepathfilter"
"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v2/tools"
"github.com/git-lfs/git-lfs/v3/errors"
"github.com/git-lfs/git-lfs/v3/filepathfilter"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/git-lfs/git-lfs/v3/tools"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions commands/command_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package commands
import (
"os"

"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions commands/command_lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (
"path/filepath"
"strings"

"github.com/git-lfs/git-lfs/v2/errors"
"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/locking"
"github.com/git-lfs/git-lfs/v2/tools"
"github.com/git-lfs/git-lfs/v3/errors"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/locking"
"github.com/git-lfs/git-lfs/v3/tools"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions commands/command_locks.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"sort"
"strings"

"github.com/git-lfs/git-lfs/v2/errors"
"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/locking"
"github.com/git-lfs/git-lfs/v2/tools"
"github.com/git-lfs/git-lfs/v3/errors"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/locking"
"github.com/git-lfs/git-lfs/v3/tools"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion commands/command_logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"path/filepath"

"github.com/git-lfs/git-lfs/v2/errors"
"github.com/git-lfs/git-lfs/v3/errors"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions commands/command_ls_files.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"os"
"strings"

"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v2/tools/humanize"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/git-lfs/git-lfs/v3/tools/humanize"
"github.com/spf13/cobra"
)

Expand Down
8 changes: 4 additions & 4 deletions commands/command_migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"io"
"strings"

"github.com/git-lfs/git-lfs/v2/errors"
"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/git/githistory"
"github.com/git-lfs/git-lfs/v2/tasklog"
"github.com/git-lfs/git-lfs/v3/errors"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/git/githistory"
"github.com/git-lfs/git-lfs/v3/tasklog"
"github.com/git-lfs/gitobj/v2"
"github.com/spf13/cobra"
)
Expand Down
14 changes: 7 additions & 7 deletions commands/command_migrate_export.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import (
"os"
"path/filepath"

"github.com/git-lfs/git-lfs/v2/errors"
"github.com/git-lfs/git-lfs/v2/filepathfilter"
"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/git/githistory"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v2/tasklog"
"github.com/git-lfs/git-lfs/v2/tools"
"github.com/git-lfs/git-lfs/v3/errors"
"github.com/git-lfs/git-lfs/v3/filepathfilter"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/git/githistory"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/git-lfs/git-lfs/v3/tasklog"
"github.com/git-lfs/git-lfs/v3/tools"
"github.com/git-lfs/gitobj/v2"
"github.com/spf13/cobra"
)
Expand Down
18 changes: 9 additions & 9 deletions commands/command_migrate_import.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ import (
"path/filepath"
"strings"

"github.com/git-lfs/git-lfs/v2/errors"
"github.com/git-lfs/git-lfs/v2/filepathfilter"
"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/git/gitattr"
"github.com/git-lfs/git-lfs/v2/git/githistory"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v2/tasklog"
"github.com/git-lfs/git-lfs/v2/tools"
"github.com/git-lfs/git-lfs/v2/tools/humanize"
"github.com/git-lfs/git-lfs/v3/errors"
"github.com/git-lfs/git-lfs/v3/filepathfilter"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/git/gitattr"
"github.com/git-lfs/git-lfs/v3/git/githistory"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/git-lfs/git-lfs/v3/tasklog"
"github.com/git-lfs/git-lfs/v3/tools"
"github.com/git-lfs/git-lfs/v3/tools/humanize"
"github.com/git-lfs/gitobj/v2"
"github.com/spf13/cobra"
)
Expand Down
14 changes: 7 additions & 7 deletions commands/command_migrate_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import (
"sort"
"strings"

"github.com/git-lfs/git-lfs/v2/errors"
"github.com/git-lfs/git-lfs/v2/git/gitattr"
"github.com/git-lfs/git-lfs/v2/git/githistory"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v2/tasklog"
"github.com/git-lfs/git-lfs/v2/tools"
"github.com/git-lfs/git-lfs/v2/tools/humanize"
"github.com/git-lfs/git-lfs/v3/errors"
"github.com/git-lfs/git-lfs/v3/git/gitattr"
"github.com/git-lfs/git-lfs/v3/git/githistory"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/git-lfs/git-lfs/v3/tasklog"
"github.com/git-lfs/git-lfs/v3/tools"
"github.com/git-lfs/git-lfs/v3/tools/humanize"
"github.com/git-lfs/gitobj/v2"
"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions commands/command_pointer.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"io/ioutil"
"os"

"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions commands/command_post_checkout.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package commands
import (
"os"

"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/locking"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/locking"
"github.com/rubyist/tracerx"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion commands/command_post_commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package commands
import (
"os"

"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/rubyist/tracerx"
"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion commands/command_pre_push.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
"strings"

"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/rubyist/tracerx"
"github.com/spf13/cobra"
)
Expand Down
16 changes: 8 additions & 8 deletions commands/command_prune.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import (
"sync"
"time"

"github.com/git-lfs/git-lfs/v2/filepathfilter"
"github.com/git-lfs/git-lfs/v2/fs"
"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v2/tasklog"
"github.com/git-lfs/git-lfs/v2/tools"
"github.com/git-lfs/git-lfs/v2/tools/humanize"
"github.com/git-lfs/git-lfs/v2/tq"
"github.com/git-lfs/git-lfs/v3/filepathfilter"
"github.com/git-lfs/git-lfs/v3/fs"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/git-lfs/git-lfs/v3/tasklog"
"github.com/git-lfs/git-lfs/v3/tools"
"github.com/git-lfs/git-lfs/v3/tools/humanize"
"github.com/git-lfs/git-lfs/v3/tq"
"github.com/rubyist/tracerx"
"github.com/spf13/cobra"
"golang.org/x/sync/semaphore"
Expand Down
10 changes: 5 additions & 5 deletions commands/command_pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"sync"
"time"

"github.com/git-lfs/git-lfs/v2/filepathfilter"
"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v2/tasklog"
"github.com/git-lfs/git-lfs/v2/tq"
"github.com/git-lfs/git-lfs/v3/filepathfilter"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/git-lfs/git-lfs/v3/tasklog"
"github.com/git-lfs/git-lfs/v3/tq"
"github.com/rubyist/tracerx"
"github.com/spf13/cobra"
)
Expand Down
8 changes: 4 additions & 4 deletions commands/command_push.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package commands
import (
"os"

"github.com/git-lfs/git-lfs/v2/errors"
"github.com/git-lfs/git-lfs/v2/git"
"github.com/git-lfs/git-lfs/v2/lfs"
"github.com/git-lfs/git-lfs/v2/tq"
"github.com/git-lfs/git-lfs/v3/errors"
"github.com/git-lfs/git-lfs/v3/git"
"github.com/git-lfs/git-lfs/v3/lfs"
"github.com/git-lfs/git-lfs/v3/tq"
"github.com/rubyist/tracerx"
"github.com/spf13/cobra"
)
Expand Down
Loading

0 comments on commit 087db1d

Please sign in to comment.