Skip to content

external filter 'git-lfs filter-process' failed #1697

@eminence

Description

@eminence

Currently using git 2.11.0.rc2 (I want to test the new process filter stuff), and git-lfs 1.5.1

I'm seeing this error which I can't explain:

lxd@sulfursim:/scratch/lxd/08> git init test-lfs
Initialized empty Git repository in /a/tmp/lxd/08/test-lfs/.git/

lxd@sulfursim:/scratch/lxd/08> cd test-lfs/

lxd@sulfursim:/scratch/lxd/08/test-lfs> unzip $HOME/repro.zip
Archive:  /u/users/lxd/repro.zip
   creating: prereqs/
   creating: prereqs/A/
   creating: prereqs/A/foo.m/
 extracting: prereqs/A/foo.m/A.txt
   creating: prereqs/A/bar.m/
  inflating: prereqs/A/bar.m/B.txt

lxd@sulfursim:/scratch/lxd/08/test-lfs> git lfs track "prereqs/**"
Tracking prereqs/**

lxd@sulfursim:/scratch/lxd/08/test-lfs> cat .gitattributes
prereqs/** filter=lfs diff=lfs merge=lfs -text

lxd@sulfursim:/scratch/lxd/08/test-lfs> git add prereqs/
error: external filter 'git-lfs filter-process' failed
fatal: prereqs/A/foo.m/A.txt: clean filter 'lfs' failed

lxd@sulfursim:/scratch/lxd/08/test-lfs> find prereqs/
prereqs/
prereqs/A
prereqs/A/foo.m
prereqs/A/foo.m/A.txt
prereqs/A/bar.m
prereqs/A/bar.m/B.txt

lxd@sulfursim:/scratch/lxd/08/test-lfs> git lfs logs

lxd@sulfursim:/scratch/lxd/08/test-lfs> git lfs env
git-lfs/1.5.1 (GitHub; linux amd64; go 1.7.3; git 4e5ba41)
git version 2.11.0.rc2

LocalWorkingDir=/a/tmp/lxd/08/test-lfs
LocalGitDir=/a/tmp/lxd/08/test-lfs/.git
LocalGitStorageDir=/a/tmp/lxd/08/test-lfs/.git
LocalMediaDir=/a/tmp/lxd/08/test-lfs/.git/lfs/objects
LocalReferenceDir=
TempDir=/a/tmp/lxd/08/test-lfs/.git/lfs/tmp
ConcurrentTransfers=3
TusTransfers=false
BasicTransfersOnly=false
BatchTransfer=true
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic
UploadTransfers=basic
git config filter.lfs.process = "git-lfs filter-process"
git config filter.lfs.smudge = "git-lfs smudge -- %f"
git config filter.lfs.clean = "git-lfs clean -- %f"

lxd@sulfursim:/scratch/lxd/08/test-lfs> git lfs status

Git LFS objects to be committed:


Git LFS objects not staged for commit:

Using the attached repro.zip and the above transcript, I'm hoping you'll be able to reproduce this. If you can, please let me know how I can debug this further locally.

Thanks!

Attachments:
repro.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions