Przeglądaj źródła

Add TODO

master
10sr 5 lat temu
rodzic
commit
fa7d868076
Podpisane przez: 10sr ID klucza GPG: 7BEC428194130EB2
1 zmienionych plików z 1 dodań i 0 usunięć
  1. +1
    -0
      emacs.el

+ 1
- 0
emacs.el Wyświetl plik

@@ -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)


Ładowanie…
Anuluj
Zapisz