diff mbox series

[bug#36106] guix: git-download: Remove explicit import.

Message ID 20190605185614.80737-1-rob@vllmrt.net
State Accepted
Headers show
Series [bug#36106] guix: git-download: Remove explicit import. | expand

Checks

Context Check Description
cbaines/applying patch fail Apply failed

Commit Message

Robert Vollmert June 5, 2019, 6:56 p.m. UTC
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.
---
 guix/git-download.scm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Comments

Ludovic Courtès June 6, 2019, 3:43 p.m. UTC | #1
Hi,

Robert Vollmert <rob@vllmrt.net> skribis:

> 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.

Applied, thanks!

Ludo’.
diff mbox series

Patch

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))