summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-07-04 15:46:44 +0530
committerArun Isaac2022-07-04 17:28:25 +0530
commit56f424e05e14ed20038b8b1aa6854705ccc3acd0 (patch)
tree15947d5162e63e4fe1d96593f7bb70a0c52e1325
parent49b767c5f462dc12da4e80db70e99884f054052f (diff)
downloadtissue-56f424e05e14ed20038b8b1aa6854705ccc3acd0.tar.gz
tissue-56f424e05e14ed20038b8b1aa6854705ccc3acd0.tar.lz
tissue-56f424e05e14ed20038b8b1aa6854705ccc3acd0.zip
git: Implement current-git-repository using repository-open-ext.
repository-open-ext obsoletes git-top-level. * tissue/git.scm (current-git-repository): Implement using repository-open-ext instead of git-top-level.
-rw-r--r--tissue/git.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tissue/git.scm b/tissue/git.scm
index c7bf351..9e2bf59 100644
--- a/tissue/git.scm
+++ b/tissue/git.scm
@@ -60,7 +60,7 @@
(define (current-git-repository)
"Return the current git repository."
- (repository-open (git-top-level)))
+ (repository-open-ext (getcwd) (list)))
(define (head-tree repository)
"Return tree of HEAD in REPOSITORY."