summaryrefslogtreecommitdiff
path: root/tests/git.scm
Commit message (Collapse)AuthorAge
* git: Add 'commit-descendant?'.Ludovic Courtès2022-02-14
| | | | | * guix/git.scm (commit-descendant?): New procedure. * tests/git.scm ("commit-descendant?"): New test.
* import: Add 'generic-git' updater.Xinglu Chen2021-09-18
| | | | | | | | | | | | * guix/git.scm (ls-remote-refs): New procedure. * tests/git.scm ("remote-refs" "remote-refs: only tags"): New tests. * guix/import/git.scm: New file. * doc/guix.texi (Invoking guix refresh): Document it. * tests/import-git.scm: New test file. * Makefile.am (MODULES, SCM_TESTS): Register the new files. Co-authored-by: Sarah Morgensen <iskarian@mgsn.dev> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* git: 'commit-difference' really excludes the ancestors of #:excluded.Ludovic Courtès2020-06-09
| | | | | | | * 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-25
| | | | | * 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-27
| | | | | | | * 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-23
* 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.