summaryrefslogtreecommitdiff
path: root/tests/git.scm
Commit message (Collapse)AuthorAgeFilesLines
* git: 'commit-difference' really excludes the ancestors of #:excluded.Ludovic Courtès2020-06-091-2/+1
| | | | | | | * guix/git.scm (commit-difference): Initialize VISITED to the closure of OLD and EXCLUDED, as written in the docstring. * tests/git.scm ("commit-difference, excluded commits"): Adjust accordingly.
* git: Add 'commit-relation'.Ludovic Courtès2020-05-251-1/+41
| | | | | * guix/git.scm (commit-relation): New procedure. * tests/git.scm ("commit-relation"): New test.
* git: 'commit-difference' takes a list of excluded commits.Ludovic Courtès2019-12-271-0/+26
| | | | | | | * guix/git.scm (commit-closure): Add 'visited' optional parameter. (commit-difference): Add 'excluded' optional parameter; pass second argument to 'commit-closure'. * tests/git.scm ("commit-difference, excluded commits"): New test.
* git: Add 'commit-difference'.Ludovic Courtès2019-09-231-0/+99
* guix/git.scm (commit-closure, commit-difference): New procedures. * guix/tests/git.scm, tests/git.scm: New files. * Makefile.am (dist_noinst_DATA): Add guix/tests/git.scm. (SCM_TESTS): Add tests/git.scm.