Re: [PATCH 4/4] Fix ie_match_stat for non-checked-out submodule
On Sat, May 3, 2008 at 5:57 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 11 quoted lines
>
> --- a/read-cache.c
> +++ b/read-cache.c
> @@ -258,6 +258,7 @@ static int ce_match_stat_basic(struct cache_entry *ce, struct stat *st)
> static int is_racy_timestamp(const struct index_state *istate, struct cache_entry *ce)
> {
> return (istate->timestamp &&
> + !S_ISGITLINK(ce->ce_mode) &&
> ((unsigned int)istate->timestamp) <= ce->ce_mtime);
> }
>--
Ping Yin