Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
magit
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Debian Emacsen team
magit
Commits
55cf6fdf
Commit
55cf6fdf
authored
Feb 27, 2016
by
Jonas Bernoulli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
magit-revision-refresh-buffer: mention file filter in header line
parent
230ab992
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
Documentation/RelNotes/2.5.1.txt
Documentation/RelNotes/2.5.1.txt
+3
-0
lisp/magit-diff.el
lisp/magit-diff.el
+8
-2
No files found.
Documentation/RelNotes/2.5.1.txt
View file @
55cf6fdf
...
...
@@ -42,6 +42,9 @@ Fixes since v2.5.0
`magit-pre-call-git-hook' and logging its git command to the
magit-process buffer.
* When a revision buffer was limited to a set of files, its header
line did not say so.
* On `windows-nt' systems, having `mount' in `exec-path' caused Magit
to assume that git is from Cygwin.
...
...
lisp/magit-diff.el
View file @
55cf6fdf
...
...
@@ -1508,9 +1508,15 @@ Staging and applying changes is documented in info node
:group 'magit-revision
(hack-dir-local-variables-non-file-buffer))
(defun magit-revision-refresh-buffer (rev __const _args
_
files)
(defun magit-revision-refresh-buffer (rev __const _args files)
(setq header-line-format
(propertize (format " %s %s" (capitalize (magit-object-type rev)) rev)
(propertize (concat " " (capitalize (magit-object-type rev))
" " rev
(pcase (length files)
(0)
(1 (concat " in file " (car files)))
(_ (concat " in files "
(mapconcat #'identity files ", ")))))
'face 'magit-header-line))
(magit-insert-section (commitbuf)
(run-hook-with-args 'magit-revision-sections-hook rev)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment