guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: guix: git-download: Remove explicit import.


From: guix-commits
Subject: 02/04: guix: git-download: Remove explicit import.
Date: Thu, 6 Jun 2019 14:36:16 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 5d9fe4311af7444ee02617c5d76d668a52d453d8
Author: Robert Vollmert <address@hidden>
Date:   Wed Jun 5 20:56:14 2019 +0200

    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 <address@hidden>
---
 guix/git-download.scm | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/guix/git-download.scm b/guix/git-download.scm
index 6cf267d..f904d11 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]