summary refs log tree commit diff
diff options
context:
space:
mode:
authorRobert Vollmert <rob@vllmrt.net>2019-06-05 20:56:14 +0200
committerLudovic Courtès <ludo@gnu.org>2019-06-06 20:35:54 +0200
commit5d9fe4311af7444ee02617c5d76d668a52d453d8 (patch)
treec9dbdca561542abe2ed95556ec93da5eed9a0847
parente00b24778d5ff9c86c63d456b490b57d0e178f9e (diff)
downloadguix-5d9fe4311af7444ee02617c5d76d668a52d453d8.tar.gz
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>
-rw-r--r--guix/git-download.scm4
1 files changed, 1 insertions, 3 deletions
diff --git a/guix/git-download.scm b/guix/git-download.scm
index 6cf267d6c8..f904d11c25 100644
--- a/guix/git-download.scm
+++ b/guix/git-download.scm
@@ -185,9 +185,7 @@ are relative to DIRECTORY, which is not necessarily the root of the checkout."
          (directory  (string-append (canonicalize-path directory) "/"))
          (dot-git    (repository-discover directory))
          (repository (repository-open dot-git))
-         ;; XXX: This procedure is mistakenly private in Guile-Git 0.1.0.
-         (workdir    ((@@ (git repository) repository-working-directory)
-                      repository))
+         (workdir    (repository-working-directory repository))
          (head       (repository-head repository))
          (oid        (reference-target head))
          (commit     (commit-lookup repository oid))