• L
    Make "for_each_ref()" always use the "canonical" refname. · 99a0a6e0
    Linus Torvalds 提交于
    It always uses a git-relative pathname, ie "refs/heads/master" instead of
    ".git/refs/heads/master" or whatever your GIT_DIR might be.
    
    This way when we send refs back-and-forth between repositories, there's
    never any question about GIT_DIR on either side.
    99a0a6e0
refs.c 5.5 KB