File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ The file path is passed to the hook as the first argument.")
227
227
(defun ffip-git-diff-current-file ()
228
228
" Run 'git diff version:current-file current-file'."
229
229
(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))))
231
231
(shell-command-to-string (format " git --no-pager diff %s :%s %s "
232
232
(replace-regexp-in-string " ^ *\\ *? *" " " (car (split-string line " |" t )))
233
233
(file-relative-name buffer-file-name default-directory)
@@ -236,7 +236,7 @@ The file path is passed to the hook as the first argument.")
236
236
(defun ffip-git-diff-project ()
237
237
" Run 'git diff version' in project."
238
238
(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)))
240
240
(version (replace-regexp-in-string " ^ *\\ *? *"
241
241
" "
242
242
(car (split-string line " |" t )))))
You can’t perform that action at this time.
0 commit comments