guix: git-download: Remove explicit import.
With guile-git version 0.2, repository-working-directory is no longer private. * guix/git-download.scm (git-file-list): Refer to public repository-working-directory. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
e00b24778d
commit
5d9fe4311a
|
@ -185,9 +185,7 @@ are relative to DIRECTORY, which is not necessarily the root of the checkout."
|
||||||
(directory (string-append (canonicalize-path directory) "/"))
|
(directory (string-append (canonicalize-path directory) "/"))
|
||||||
(dot-git (repository-discover directory))
|
(dot-git (repository-discover directory))
|
||||||
(repository (repository-open dot-git))
|
(repository (repository-open dot-git))
|
||||||
;; XXX: This procedure is mistakenly private in Guile-Git 0.1.0.
|
(workdir (repository-working-directory repository))
|
||||||
(workdir ((@@ (git repository) repository-working-directory)
|
|
||||||
repository))
|
|
||||||
(head (repository-head repository))
|
(head (repository-head repository))
|
||||||
(oid (reference-target head))
|
(oid (reference-target head))
|
||||||
(commit (commit-lookup repository oid))
|
(commit (commit-lookup repository oid))
|
||||||
|
|
Loading…
Reference in New Issue