Re: [PATCH 3/4] unpack-trees: Fix same() for submodules

2017-12-22 Thread Junio C Hamano
Stefan Beller writes: > The function same(a, b) is used to check if two entries a and b are the > same. As the index contains the staged files the same() function can be > used to check if files between a given revision and the index are the same. > > In case of submodules, the gitlink entry is

[PATCH 3/4] unpack-trees: Fix same() for submodules

2017-12-20 Thread Stefan Beller
The function same(a, b) is used to check if two entries a and b are the same. As the index contains the staged files the same() function can be used to check if files between a given revision and the index are the same. In case of submodules, the gitlink entry is showing up as not modified despit