File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 14
14
(defvar compact-blame-bg2 " #FFFFC0" )
15
15
(defvar compact-blame-light-coeff 650 )
16
16
(defvar compact-blame-name-limit 80 )
17
- (defvar compact-blame-future-warning-branch nil )
17
+ (defvar compact-blame-git-command '( " git " ) )
18
18
19
19
; ; End of config
20
20
; ; Using capitalized prefix for private functions/vars so they don't
@@ -400,9 +400,6 @@ to variables as a single unit"
400
400
(lambda (&rest ignored )
401
401
(setq buffer-read-only nil )
402
402
(erase-buffer )
403
- ; ; TODO Why doesn't work without it?
404
- (insert " " )
405
- (setq buffer-read-only t )
406
403
(diff-mode )
407
404
; ; In case the file has some non utf8 encoding:
408
405
; ; Tell git to encode commit message and then we decode it back
@@ -412,9 +409,11 @@ to variables as a single unit"
412
409
'(" diff" " -w" " --submodule=diff" " --no-color" )
413
410
(list " show"
414
411
" --ignore-space-change" " --encoding" enc id
415
- " --no-color" ))))
416
- (setq proc
417
- (apply 'start-process bn (current-buffer ) " git" cmd)))
412
+ " --no-color" " --submodule=diff" ))))
413
+ (setq cmd (append compact-blame-git-command cmd))
414
+ (insert (format " --- Running %s ...\n " cmd))
415
+ (setq buffer-read-only t )
416
+ (setq proc (apply 'start-process bn (current-buffer ) cmd)))
418
417
(set-process-coding-system proc cod-sys)
419
418
(goto-char 1 )
420
419
(set-marker (process-mark proc) (point-max ) (current-buffer ))
You can’t perform that action at this time.
0 commit comments