]> git.proxmox.com Git - libgit2.git/commit - tests/libgit2/refs/revparse.c
revparse: support open-ended ranges
authorWilliam Bain <bain.william.a@gmail.com>
Wed, 3 May 2017 17:20:57 +0000 (11:20 -0600)
committerWilliam Bain <bain.william.a@gmail.com>
Fri, 5 May 2017 15:46:56 +0000 (09:46 -0600)
commit8b107dc5e1cd0745628e2bfb473477342c719f25
treef8a8de71ab98716613135cc1497c43876165e232
parent7849e467579f64ccbbfdc4463af97a215d1ac8e3
revparse: support open-ended ranges

Support '..' and '...' ranges where one side is not specified.
The unspecified side defaults to HEAD.

Closes #4223
src/revparse.c
tests/refs/revparse.c