New upstream version 2.90.1
Rémi Vanicat
5 years ago
49 | 49 |
- Alban Gruin <alban@pa1ch.fr>
|
50 | 50 |
- Aleksey Uimanov <s9gf4ult@gmail.com>
|
51 | 51 |
- Alexander Gramiak <fice-t@protonmail.com>
|
|
52 |
- Alex Branham <alex.branham@gmail.com>
|
52 | 53 |
- Alex Dunn <adunn@ucsb.edu>
|
53 | 54 |
- Alexey Voinov <alexey.v.voinov@gmail.com>
|
54 | 55 |
- Alex Kost <alezost@gmail.com>
|
|
153 | 154 |
- Joakim Jalap <JOJA@stoneridge.com>
|
154 | 155 |
- Johann Klähn <kljohann@gmail.com>
|
155 | 156 |
- John Mastro <john.b.mastro@gmail.com>
|
|
157 |
- John Morris <john@zultron.com>
|
156 | 158 |
- John Wiegley <johnw@newartisans.com>
|
157 | 159 |
- Jonas Bernoulli <jonas@bernoul.li>
|
158 | 160 |
- Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
|
|
169 | 171 |
- Kan-Ru Chen <kanru@kanru.info>
|
170 | 172 |
- Kenny Ballou <kballou@devnulllabs.io>
|
171 | 173 |
- Keshav Kini <keshav.kini@gmail.com>
|
|
174 |
- Kevin Brubeck Unhammer <unhammer@fsfe.org>
|
172 | 175 |
- Kévin Le Gouguec <kevin.legouguec@gmail.com>
|
173 | 176 |
- Kimberly Wolk <kimwolk@hotmail.com>
|
174 | 177 |
- Kyle Meyer <kyle@kyleam.com>
|
|
0 |
* Magit v2.90.1 Release Notes
|
|
1 |
** Changes since v2.90.0
|
|
2 |
|
|
3 |
- Added ~bug-reference-mode~ to ~git-commit-setup-hook~. e19e8fb1e
|
|
4 |
|
|
5 |
- The "Version" column in ~magit-submodule-list-mode~ and
|
|
6 |
~magit-repolist-mode~ buffers now shows when a repository is dirty.
|
|
7 |
0b86dbfd6
|
|
8 |
|
|
9 |
- Added new command ~magit-log-merged~. This command requires
|
|
10 |
~git-when-merged~ (https://github.com/mhagger/git-when-merged). It
|
|
11 |
isn't bound in ~magit-log-popup~ by default. To add it, you can use
|
|
12 |
something like
|
|
13 |
|
|
14 |
#+BEGIN_SRC emacs-lisp
|
|
15 |
(magit-define-popup-action 'magit-log-popup
|
|
16 |
?m "Log commit's merge" 'magit-log-merged)
|
|
17 |
#+END_SRC
|
|
18 |
|
|
19 |
#3657
|
|
20 |
|
|
21 |
** Fixes since v2.90.0
|
|
22 |
|
|
23 |
- Bumped the minimal required version of ~git-commit~ to the correct
|
|
24 |
version. e9bd33758
|
|
25 |
|
|
26 |
- Dropped the new "v" prefix that we started to add to release tags
|
|
27 |
starting with the previous release in places where that prefix is
|
|
28 |
undesirable. f441cf6d7
|
|
29 |
|
|
30 |
- Staging and unstaging submodules while ~diff.submodule~'s value is ~log~
|
|
31 |
broke shortly before the v2.90.0 release. #3654
|
|
32 |
|
|
33 |
* Authors
|
|
34 |
|
|
35 |
10 Jonas Bernoulli
|
|
36 |
1 Allen Li
|
|
37 |
1 Kevin Brubeck Unhammer
|
|
38 |
1 Kyle Meyer
|
|
0 |
* Magit v2.91.0 Release Notes (unreleased)
|
|
1 |
** Breaking changes
|
|
2 |
** Changes since v2.90.0
|
|
3 |
|
|
4 |
- Added ~bug-reference-mode~ to ~git-commit-setup-hook~. e19e8fb1e
|
|
5 |
|
|
6 |
- The "Version" column in ~magit-submodule-list-mode~ and
|
|
7 |
~magit-repolist-mode~ buffers now shows when a repository is dirty.
|
|
8 |
0b86dbfd6
|
|
9 |
|
|
10 |
- Added new command ~magit-log-merged~. This command requires
|
|
11 |
~git-when-merged~ (https://github.com/mhagger/git-when-merged). It
|
|
12 |
isn't bound in ~magit-log-popup~ by default. To add it, you can use
|
|
13 |
something like
|
|
14 |
|
|
15 |
#+BEGIN_SRC emacs-lisp
|
|
16 |
(magit-define-popup-action 'magit-log-popup
|
|
17 |
?m "Log commit's merge" 'magit-log-merged)
|
|
18 |
#+END_SRC
|
|
19 |
|
|
20 |
#3657
|
|
21 |
|
|
22 |
** Fixes since v2.90.0
|
|
23 |
|
|
24 |
- Bumped the minimal required version of ~git-commit~ to the correct
|
|
25 |
version. e9bd33758
|
|
26 |
|
|
27 |
- Dropped the new "v" prefix that we started to add to release tags
|
|
28 |
starting with the previous release in places where that prefix is
|
|
29 |
undesirable. f441cf6d7
|
|
30 |
|
|
31 |
- Staging and unstaging submodules while ~diff.submodule~'s value is ~log~
|
|
32 |
broke shortly before the v2.90.0 release. #3654
|
7 | 7 |
#+TEXINFO_DIR_CATEGORY: Emacs
|
8 | 8 |
#+TEXINFO_DIR_TITLE: Magit: (magit).
|
9 | 9 |
#+TEXINFO_DIR_DESC: Using Git from Emacs with Magit.
|
10 | |
#+SUBTITLE: for version 2.90.0
|
|
10 |
#+SUBTITLE: for version 2.90.1
|
11 | 11 |
#+BIND: ox-texinfo+-before-export-hook ox-texinfo+-update-version-strings
|
12 | 12 |
|
13 | 13 |
#+TEXINFO_DEFFN: t
|
|
22 | 22 |
Magit and Git itself deserve to be called porcelains.
|
23 | 23 |
|
24 | 24 |
#+TEXINFO: @noindent
|
25 | |
This manual is for Magit version 2.90.0.
|
|
25 |
This manual is for Magit version 2.90.1.
|
26 | 26 |
|
27 | 27 |
#+BEGIN_QUOTE
|
28 | 28 |
Copyright (C) 2015-2018 Jonas Bernoulli <jonas@bernoul.li>
|
|
2998 | 2998 |
- ~all~ Show related local and remote branches.
|
2999 | 2999 |
- ~mixed~ Show all containing branches and local merged branches.
|
3000 | 3000 |
|
3001 | |
- User Option: magit-revision-show-gravatar
|
|
3001 |
- User Option: magit-revision-show-gravatars
|
3002 | 3002 |
|
3003 | 3003 |
Whether to show gravatar images in revision buffers.
|
3004 | 3004 |
|
30 | 30 |
@finalout
|
31 | 31 |
@titlepage
|
32 | 32 |
@title Magit User Manual
|
33 | |
@subtitle for version 2.90.0
|
|
33 |
@subtitle for version 2.90.1
|
34 | 34 |
@author Jonas Bernoulli
|
35 | 35 |
@page
|
36 | 36 |
@vskip 0pt plus 1filll
|
|
52 | 52 |
Magit and Git itself deserve to be called porcelains.
|
53 | 53 |
|
54 | 54 |
@noindent
|
55 | |
This manual is for Magit version 2.90.0.
|
|
55 |
This manual is for Magit version 2.90.1.
|
56 | 56 |
|
57 | 57 |
@quotation
|
58 | 58 |
Copyright (C) 2015-2018 Jonas Bernoulli <jonas@@bernoul.li>
|
|
4084 | 4084 |
@end itemize
|
4085 | 4085 |
@end defopt
|
4086 | 4086 |
|
4087 | |
@defopt magit-revision-show-gravatar
|
|
4087 |
@defopt magit-revision-show-gravatars
|
4088 | 4088 |
|
4089 | 4089 |
Whether to show gravatar images in revision buffers.
|
4090 | 4090 |
|
0 | |
Documentation/RelNotes/2.90.0.org⏎
|
|
0 |
Documentation/RelNotes/2.90.1.org⏎
|
95 | 95 |
|
96 | 96 |
## Versions ##########################################################
|
97 | 97 |
|
98 | |
VERSION ?= $(shell test -e $(TOP).git && git describe --tags --abbrev=0)
|
|
98 |
VERSION ?= $(shell test -e $(TOP).git && git describe --tags --abbrev=0 | cut -c2-)
|
99 | 99 |
|
100 | 100 |
ASYNC_VERSION = 1.9.3
|
101 | 101 |
DASH_VERSION = 2.14.1
|
102 | 102 |
GHUB_VERSION = 3.0.0
|
103 | |
GIT_COMMIT_VERSION = 2.13.0
|
|
103 |
GIT_COMMIT_VERSION = 2.90.0
|
104 | 104 |
MAGIT_POPUP_VERSION = 2.12.4
|
105 | 105 |
WITH_EDITOR_VERSION = 2.8.0
|
106 | 106 |
|
174 | 174 |
git-commit-setup-changelog-support
|
175 | 175 |
git-commit-turn-on-auto-fill
|
176 | 176 |
git-commit-propertize-diff
|
|
177 |
bug-reference-mode
|
177 | 178 |
with-editor-usage-message)
|
178 | 179 |
"Hook run at the end of `git-commit-setup'."
|
179 | 180 |
:group 'git-commit
|
207 | 207 |
(magit-refresh))))
|
208 | 208 |
|
209 | 209 |
(defun magit-apply--get-selection ()
|
210 | |
(or (magit-region-sections '(hunk file) t)
|
|
210 |
(or (magit-region-sections '(hunk file module) t)
|
211 | 211 |
(let ((section (magit-current-section)))
|
212 | 212 |
(pcase (oref section type)
|
213 | |
((or `hunk `file) section)
|
|
213 |
((or `hunk `file `module) section)
|
214 | 214 |
((or `staged `unstaged `untracked
|
215 | 215 |
`stashed-index `stashed-worktree `stashed-untracked)
|
216 | 216 |
(oref section children))
|
751 | 751 |
(with-current-buffer buf
|
752 | 752 |
(goto-char pos)
|
753 | 753 |
(call-interactively #'magit-log-trace-definition)))))
|
|
754 |
|
|
755 |
;;;###autoload
|
|
756 |
(defun magit-log-merged (commit branch &optional args files)
|
|
757 |
"Show log for the merge of COMMIT into BRANCH.
|
|
758 |
More precisely, find merge commit M that brought COMMIT into
|
|
759 |
BRANCH, and show the log of the range \"M^..M\". This command
|
|
760 |
requires git-when-merged, which is available from
|
|
761 |
https://github.com/mhagger/git-when-merged."
|
|
762 |
(interactive
|
|
763 |
(append (let ((commit (magit-read-branch-or-commit "Commit")))
|
|
764 |
(list commit
|
|
765 |
(magit-read-other-branch "Merged into" commit)))
|
|
766 |
(magit-log-arguments)))
|
|
767 |
(unless (executable-find "git-when-merged")
|
|
768 |
(user-error "This command requires git-when-merged (%s)"
|
|
769 |
"https://github.com/mhagger/git-when-merged"))
|
|
770 |
(magit-git-log
|
|
771 |
(list (or (magit-git-string "when-merged" "--show-branch" commit branch)
|
|
772 |
(user-error "Could not find when %s was merged into %s"
|
|
773 |
commit branch)))
|
|
774 |
args files))
|
754 | 775 |
|
755 | 776 |
(defun magit-git-reflog (ref args)
|
756 | 777 |
(require 'magit)
|
136 | 136 |
(defun magit--merge-absort (branch args)
|
137 | 137 |
(when (equal branch "master")
|
138 | 138 |
(unless (yes-or-no-p
|
139 | |
"Do you really want to to merge `master' into another branch? ")
|
|
139 |
"Do you really want to merge `master' into another branch? ")
|
140 | 140 |
(user-error "Abort")))
|
141 | 141 |
(if-let ((target (magit-get-push-branch branch t)))
|
142 | 142 |
(progn
|
0 | |
(define-package "magit" "2.90.0"
|
|
0 |
(define-package "magit" "2.90.1"
|
1 | 1 |
"A Git porcelain inside Emacs."
|
2 | 2 |
'((emacs "25.1")
|
3 | 3 |
(async "1.9.3")
|
4 | 4 |
(dash "2.14.1")
|
5 | 5 |
(ghub "3.0.0")
|
6 | |
(git-commit "2.13.0")
|
|
6 |
(git-commit "2.90.0")
|
7 | 7 |
(magit-popup "2.12.4")
|
8 | 8 |
(with-editor "2.8.0")))
|
178 | 178 |
|
179 | 179 |
(defun magit-repolist-column-version (_id)
|
180 | 180 |
"Insert a description of the repository's `HEAD' revision."
|
181 | |
(let ((v (or (magit-git-string "describe" "--tags")
|
|
181 |
(let ((v (or (magit-git-string "describe" "--tags" "--dirty")
|
182 | 182 |
;; If there are no tags, use the date in MELPA format.
|
183 | 183 |
(magit-git-string "show" "--no-patch" "--format=%cd-g%h"
|
184 | 184 |
"--date=format:%Y%m%d.%H%M"))))
|
185 | |
(if (and v (string-match-p "\\`[0-9]" v))
|
186 | |
(concat " " v)
|
187 | |
v)))
|
|
185 |
(save-match-data
|
|
186 |
(when (string-match "-dirty\\'" v)
|
|
187 |
(put-text-property (1+ (match-beginning 0)) (length v) 'face 'error v))
|
|
188 |
(if (and v (string-match "\\`[0-9]" v))
|
|
189 |
(concat " " v)
|
|
190 |
v))))
|
188 | 191 |
|
189 | 192 |
(defun magit-repolist-column-branch (_id)
|
190 | 193 |
"Insert the current branch."
|