Browse Source

Add TODO

master
10sr 6 years ago
parent
commit
fa7d868076
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      emacs.el

+ 1
- 0
emacs.el View File

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


Loading…
Cancel
Save