|
@@ -2326,7 +2326,6 @@ TYPE is target object type." |
|
|
(setq git-walktree-repository-root root) |
|
|
(setq git-walktree-repository-root root) |
|
|
(current-buffer)))))) |
|
|
(current-buffer)))))) |
|
|
|
|
|
|
|
|
;; TODO: Change func name |
|
|
|
|
|
(defun git-walktree--replace-into-buffer (target) |
|
|
(defun git-walktree--replace-into-buffer (target) |
|
|
"Replace TARGET buffer contents with that of current buffer." |
|
|
"Replace TARGET buffer contents with that of current buffer." |
|
|
(let ((buf (current-buffer))) |
|
|
(let ((buf (current-buffer))) |
|
@@ -2356,8 +2355,6 @@ TYPE is target object type." |
|
|
(let ((inhibit-read-only t)) |
|
|
(let ((inhibit-read-only t)) |
|
|
(with-temp-buffer |
|
|
(with-temp-buffer |
|
|
(if commitish |
|
|
(if commitish |
|
|
;; TODO: branch info after commit sha1 (like (HEAD -> master)) |
|
|
|
|
|
;; not appear |
|
|
|
|
|
(progn (git-walktree--call-process nil |
|
|
(progn (git-walktree--call-process nil |
|
|
"show" |
|
|
"show" |
|
|
;; TODO: Make this args configurable |
|
|
;; TODO: Make this args configurable |
|
|