Skip to content

Commit 1def91f

Browse files
author
Chen Bin
committed
fixed typo
1 parent 0cce5ac commit 1def91f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎find-file-in-project.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ The file path is passed to the hook as the first argument.")
227227
(defun ffip-git-diff-current-file ()
228228
"Run 'git diff version:current-file current-file'."
229229
(let* ((default-directory (locate-dominating-file default-directory ".git"))
230-
(line (completing-read "diff current file: " (ffip-diff-git-versions))))
230+
(line (completing-read "diff current file with version: " (ffip-diff-git-versions))))
231231
(shell-command-to-string (format "git --no-pager diff %s:%s %s"
232232
(replace-regexp-in-string "^ *\\*? *" "" (car (split-string line "|" t)))
233233
(file-relative-name buffer-file-name default-directory)
@@ -236,7 +236,7 @@ The file path is passed to the hook as the first argument.")
236236
(defun ffip-git-diff-project()
237237
"Run 'git diff version' in project."
238238
(let* ((default-directory (locate-dominating-file default-directory ".git"))
239-
(line (completing-read "diff current file: " (ffip-diff-git-versions)))
239+
(line (completing-read "diff with commit: " (ffip-diff-git-versions)))
240240
(version (replace-regexp-in-string "^ *\\*? *"
241241
""
242242
(car (split-string line "|" t)))))

0 commit comments

Comments
 (0)