• L
    Tentative built-in "git show" · ba1d4505
    Linus Torvalds 提交于
    This uses the "--no-walk" flag that I never actually implemented (but I'm
    sure I mentioned it) to make "git show" be essentially the same thing as
    "git whatchanged --no-walk".
    
    It just refuses to add more interesting parents to the revision walking
    history, so you don't actually get any history, you just get the commit
    you asked for.
    
    I was going to add "--no-walk" as a real argument flag to git-rev-list
    too, but I'm not sure anybody actually needs it. Although it might be
    useful for porcelain, so I left the door open.
    
    [jc: ported to the unified option structure by Linus]
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    Signed-off-by: NJunio C Hamano <junkio@cox.net>
    ba1d4505
revision.h 2.3 KB