Compare commits

..

2 Commits

Author SHA1 Message Date
f0e9aac6cf chore: rename project to majjit 2026-02-24 13:13:15 +01:00
fc9fc2613b feat: initial implementation 2026-02-24 01:40:44 +01:00

View File

@@ -85,8 +85,7 @@ See `magit-git-executable'."
(defun majjit-run-jj-async (directory &rest args)
"Start jujutsu and return the process object.
ARGS is flattened and then used as arguments to jujutsu. Once cloning is
done, open DIRECTORY with `find-file'.
ARGS is flattened and then used as arguments to jujutsu.
Inspired by `magit-start-git'."
(let ((default-process-coding-system (magit--process-coding-system))
@@ -141,19 +140,6 @@ If COLOCATE-P is t, colocate the repository with git."
repository
(magit-convert-filename-for-git directory))))
;;;###autoload
(defun majjit-clone-from-url (url)
"Clone a repository from a known URL."
(let ((directory (read-directory-name
"Clone to: "
(if (functionp majjit-default-directory)
(funcall majjit-default-directory)
majjit-default-directory)
nil nil
(magit-clone--url-to-name url)))
(colocate-p (yes-or-no-p "Colocate? ")))
(majjit--internal url directory colocate-p)))
;;;###autoload
(defun majjit-clone (repository directory colocate-p)
"Clone a git REPOSITORY using jujutsu into a DIRECTORY.