mirror of
git://git.savannah.gnu.org/guix/data-service.git
synced 2023-12-14 03:23:03 +01:00
Remove the now redundant with-base-and-target-commits function
Uses of this have been replaced with parse-query-parameters.
This commit is contained in:
parent
116775ad06
commit
2279f1e013
1 changed files with 0 additions and 9 deletions
|
@ -88,15 +88,6 @@
|
|||
value)))
|
||||
alist))
|
||||
|
||||
(define (with-base-and-target-commits query-parameters conn f)
|
||||
(let* ((base-commit (assoc-ref query-parameters "base_commit"))
|
||||
(target-commit (assoc-ref query-parameters "target_commit")))
|
||||
|
||||
(f base-commit
|
||||
(commit->revision-id conn base-commit)
|
||||
target-commit
|
||||
(commit->revision-id conn target-commit))))
|
||||
|
||||
(define* (render-view-revision mime-types
|
||||
conn
|
||||
commit-hash
|
||||
|
|
Loading…
Reference in a new issue