]> git.ipfire.org Git - thirdparty/git.git/commit
t1500: ensure current --since= behavior remains
authorEric Wong <e@80x24.org>
Wed, 10 Feb 2021 21:55:43 +0000 (21:55 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Feb 2021 22:24:13 +0000 (14:24 -0800)
commita5cdca452052e824c9f3f7cf78385fbec5bb1976
tree9bf24ae7ec5a100882ff80ac2639b822f783dbc6
parent773e25afc41b1b6533fa9ae2cd825d0b4a697fad
t1500: ensure current --since= behavior remains

This behavior of git-rev-parse is observed since git 1.8.3.1
at least(*), and likely earlier versions.

At least one git-reliant project in-the-wild relies on this
current behavior of git-rev-parse being able to handle multiple
--since= arguments without squeezing identical results together.
So add a test to prevent the potential for regression in
downstream projects.

(*) 1.8.3.1 the version packaged for CentOS 7.x

Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1500-rev-parse.sh