• L
    Call setup_git_directory() early · db6296a5
    Linus Torvalds 提交于
    Any git command that expects to work in a subdirectory of a project, and
    that reads the git config files (which is just about all of them) needs to
    make sure that it does the "setup_git_directory()" call before it tries to
    read the config file.
    
    This means, among other things, that we need to move the call out of
    "init_revisions()", and into the caller.
    
    This does the mostly trivial conversion to do that.
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    Signed-off-by: NJunio C Hamano <junkio@cox.net>
    db6296a5
blame.c 20.4 KB