Pārlūkot izejas kodu

Add TODO

master
10sr pirms 7 gadiem
vecāks
revīzija
fa7d868076
Parakstījis: 10sr GPG atslēgas ID: 7BEC428194130EB2
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. +1
    -0
      emacs.el

+ 1
- 0
emacs.el Parādīt failu

@@ -2627,6 +2627,7 @@ PATH will be always treated as relative to repository root."
"Open git tree buffer of COMMITTISH. "Open git tree buffer of COMMITTISH.
When PATH was given and non-nil open that, otherwise try to open current path. When PATH was given and non-nil open that, otherwise try to open current path.
If target path is not found in COMMITISH tree, go up path and try again until found." If target path is not found in COMMITISH tree, go up path and try again until found."
;; TODO: Add fallback method for cases where magit is not available
(interactive (list (magit-read-branch-or-commit "Revision: "))) (interactive (list (magit-read-branch-or-commit "Revision: ")))
(switch-to-buffer (git-walktree--open-noselect-safe-path committish path))) (switch-to-buffer (git-walktree--open-noselect-safe-path committish path)))
(defalias 'git-walktree 'git-walktree-open) (defalias 'git-walktree 'git-walktree-open)


Notiek ielāde…
Atcelt
Saglabāt