Git-lfs: Submodule update does not update git-lfs files

Created on 23 Feb 2017  路  3Comments  路  Source: git-lfs/git-lfs

Actual behavior:

% git config --global lfs.fetchinclude 'external/linux/*64*'
% git submodule update --init
% [downloading packages matching 'external/linux/*64*']
% git config --global lfs.fetchinclude 'external/linux/*32*'
% git submodule update --init
[nothing happened]

Expected behavior

% git config --global lfs.fetchinclude 'external/linux/*64*'
% git submodule update --init
[downloading packages matching 'external/linux/*64*']
% git config --global lfs.fetchinclude 'external/linux/*32*'
% git submodule update --init
[downloading packages matching 'external/linux/*32]
bug

All 3 comments

Thanks for the report. I've marked it as a bug. My hunch is that since the submodule didn't change, git submodule update --init doesn't do anything, bypassing the git smudge filter.

I think that:

$ git submodule update --init --force
# ...

should work as intended.

@ttaylorr, that actually also doesn't work, unfortunately.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MaxiMax07 picture MaxiMax07  路  3Comments

pointcache picture pointcache  路  4Comments

sauhaardac picture sauhaardac  路  4Comments

m1h4 picture m1h4  路  4Comments

Infotaku picture Infotaku  路  4Comments