소스 검색

Fix

master
10sr 6 년 전
부모
커밋
4288c00ace
로그인 계정: 10sr GPG 키 ID: 7BEC428194130EB2
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. +5
    -2
      emacs.el

+ 5
- 2
emacs.el 파일 보기

@@ -2578,15 +2578,18 @@ If target path is not found in COMMITISH tree, go up path and try again until fo
(defalias 'git-walktree 'git-walktree-open)

(defun git-walktree--path-in-repository (path)
"Convert PATH into relative path to repository root."
"Convert PATH into relative path to repository root.
Result will not have leading and trailing slashes."
(with-temp-buffer
(cd (if (file-directory-p path)
path
(file-name-directory path)))
(let ((root (git-walktree--git-plumbing "rev-parse"
"--show-toplevel")))
(file-relative-name path root))))
(file-relative-name (directory-file-name path)
root))))

(file-relative-name "/ab/cd/" "/ab/cd")
(defcustom git-walktree-git-executable "git"
"Git executable."
:type 'string


불러오는 중...
취소
저장