Skip to content
  • Christian Couder's avatar
    bisect: fix "git bisect skip <commit>" and add tests cases · 1a66a489
    Christian Couder authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    The patch that allows "git bisect skip" to be passed a range of
    commits using the "<commit1>..<commit2>" notation is flawed because
    it introduces a regression when it was passed a simple rev or commit.
    
    "git bisect skip <commit>" doesn't work any more, because <commit>
    is quoted but not properly unquoted.
    
    This patch fixes that and add tests cases to better check when it is
    passed commits and range of commits.
    
    While at it, this patch also properly quotes the non range arguments
    using the "sq" function.
    
    Signed-off-by: default avatarChristian Couder <chriscool@tuxfamily.org>
    1a66a489