Skip to content
  • Junio C Hamano's avatar
    Introduce a new revision set operator <rev>^! · 62476c8e
    Junio C Hamano authored
    
    
    This is a shorthand for "<rev> --not <rev>^@", i.e. "include
    this commit but exclude any of its parents".
    
    When a new file $F is introduced by revision $R, this notation
    can be used to find a copy-and-paste from existing file in the
    parents of that revision without annotating the ancestry of the
    lines that were copied from:
    
    	git pickaxe -f -C $R^! -- $F
    
    Signed-off-by: default avatarJunio C Hamano <junkio@cox.net>
    62476c8e