]> granicus.if.org Git - git/commitdiff
Merge branch 'rs/nth-parent-parse'
authorJunio C Hamano <gitster@pobox.com>
Mon, 7 Oct 2019 02:32:57 +0000 (11:32 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 7 Oct 2019 02:32:57 +0000 (11:32 +0900)
The object name parser for "Nth parent" syntax has been made more
robust against integer overflows.

* rs/nth-parent-parse:
  sha1-name: check for overflow of N in "foo^N" and "foo~N"
  rev-parse: demonstrate overflow of N for "foo^N" and "foo~N"

1  2 
sha1-name.c
t/t1506-rev-parse-diagnosis.sh

diff --cc sha1-name.c
Simple merge
Simple merge