Browse Source

Fix arg

master
10sr 6 years ago
parent
commit
26de40ee18
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      emacs.el

+ 3
- 2
emacs.el View File

@@ -2360,10 +2360,12 @@ TYPE is target object type."
;; not appear ;; not appear
(progn (git-walktree--call-process nil (progn (git-walktree--call-process nil
"show" "show"
"--stat"
;; TODO: Make this args configurable
;; "--no-patch" ;; "--no-patch"
"--color=always" "--color=always"
"--pretty=short" "--pretty=short"
"--decorate"
"--stat"
commitish) commitish)
(insert "\n") (insert "\n")
(insert (format "Contents of '%s:%s':\n" (insert (format "Contents of '%s:%s':\n"
@@ -2378,7 +2380,6 @@ TYPE is target object type."
"--abbrev" "--abbrev"


treeish) treeish)
;; TODO: Somehow text properties are stripped here
(git-walktree--replace-into-buffer buf)))) (git-walktree--replace-into-buffer buf))))
;; Overlays won't be copied with replace-buffer-contents so do this ;; Overlays won't be copied with replace-buffer-contents so do this
;; after copying contents ;; after copying contents


Loading…
Cancel
Save