summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2023-01-28 23:45:50 +0000
committerArun Isaac2023-01-28 23:47:18 +0000
commit4ac110b5116bf5c1521232506c0b3c1831df3896 (patch)
treedcca010fa2fae9de33e7a14620b306b73e42c5ff
parent788d02865aa0a0e776ed65defbbd584a236dfdfb (diff)
downloadtissue-4ac110b5116bf5c1521232506c0b3c1831df3896.tar.gz
tissue-4ac110b5116bf5c1521232506c0b3c1831df3896.tar.lz
tissue-4ac110b5116bf5c1521232506c0b3c1831df3896.zip
bin: Use call-with-temporary-checkout when pulling.
* bin/tissue (pull): Use call-with-temporary-checkout.
-rwxr-xr-xbin/tissue3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/tissue b/bin/tissue
index 948460d..606e36d 100755
--- a/bin/tissue
+++ b/bin/tissue
@@ -403,9 +403,8 @@ HOSTNAME."
repository)))))
(let ((config (load-config)))
(parameterize ((%aliases (tissue-configuration-aliases config)))
- (call-with-temporary-directory
+ (call-with-temporary-checkout (git-top-level)
(lambda (temporary-repository-clone)
- (clone (git-top-level) temporary-repository-clone)
;; Add the top level of the git repository to the
;; load path since there may be user-written
;; modules in the repository.