The behaviour of the symlinked in ref directories has changed from
earlier versions of git.  They used to be taken into account in
git-fsck-cache --unreachable.  The code in question would simply stat
the contents of .git/refs and recursively expand any S_ISDIR.  Now the
code does an lstat and effectively throws symlinks away.

refs.c lines 48,52 @ do_for_each_ref

...
        memcpy(path + baselen, de->d_name, namelen+1);
        if (lstat(git_path("%s", path), &st) < 0)
                continue;
        if (S_ISDIR(st.st_mode)) {
                retval = do_for_each_ref(path, fn);
...

Can the previous behaviour be reinstated?


-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to