Skip to content

git lfs migrate import error 'encoding/hex: invalid byte: U+0073 's'' #4709

Description

@shi-zhenghao

Describe the issue
When I use git LFS import, the following error is reported in the middle of import.

[root@kube-node1 kmd-generic.git]# git lfs migrate import --everything --above="100MB"
migrate: Sorting commits: ..., done.
encoding/hex: invalid byte: U+0073 's'15/894636)

System environment
Centos 8

Output of git lfs env
git-lfs/2.13.3 (GitHub; linux amd64; go 1.16.2; git a5e6585)
git version 2.32.0

Error reading git config: error running /usr/local/git/libexec/git-core/git 'rev-parse' '--is-bare-repository': 'fatal: not a git repository (or any of the parent directories): .git' 'exit status 128'
LocalWorkingDir=
LocalGitDir=
LocalGitStorageDir=
LocalMediaDir=lfs/objects
LocalReferenceDirs=
TempDir=lfs/tmp
ConcurrentTransfers=8
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
LfsStorageDir=lfs
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic,lfs-standalone-file
UploadTransfers=basic,lfs-standalone-file
GIT_EXEC_PATH=/usr/local/git/libexec/git-core
git config filter.lfs.process = ""
git config filter.lfs.smudge = ""
git config filter.lfs.clean = ""

Additional context
I'm using git LFS to migrate repo. I don't know the reason for this problem at all, and I haven't found a similar situation in others. So I can only ask this question for an answer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      Sponsor
      SponsoredKunjungi sekarang
      Promo