瀏覽代碼

Add TODO

master
10sr 5 年之前
父節點
當前提交
fa7d868076
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      emacs.el

+ 1
- 0
emacs.el 查看文件

@@ -2627,6 +2627,7 @@ PATH will be always treated as relative to repository root."
"Open git tree buffer of COMMITTISH.
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."
;; TODO: Add fallback method for cases where magit is not available
(interactive (list (magit-read-branch-or-commit "Revision: ")))
(switch-to-buffer (git-walktree--open-noselect-safe-path committish path)))
(defalias 'git-walktree 'git-walktree-open)


Loading…
取消
儲存