| Age | Commit message (Collapse) | Author |
|
|
|
Disable this feature by default to address privacy concerns. Re #2369.
|
|
|
|
|
|
|
|
|
|
Support is pretty basic and will be improved eventually. It won't be
improved incrementally, i.e. I won't add related arguments as they are
being requested, but only when I feel that the time to do so has come,
i.e. once I have the time to tackle this exciting area of Git properly.
|
|
|
|
Add variable `magit-log-remove-graph-args' replacing the old
`magit-log-remove-graph-re', because that makes it easier to
change the value.
|
|
|
|
|
|
This allows adding suitable key bindings in blog buffers even though
these buffers use arbitrary major-modes. "q" now kills the buffer.
|
|
Rename related symbols accordingly.
|
|
* add option `magit-keep-region-overlay'
|
|
As explained in the doc-string of that option, I *strongly* urge user
to *not* change the value of this option. Re #2085, #2063, tweets, and
https://www.reddit.com/r/emacs/comments/3bt2nh/magit_v210_released/cstul4y.
|
|
Also add entry to release notes and a comment in the tests.
|
|
* jump to next block of changed lines after staging region
|
|
After using the region to stage or discard parts of a hunk, jump to
the beginning of the next block of changed lines. After staging the
last block, instead jump to the previous block. This is implemented
using regexp searches, not by counting lines.
Previously we just jumped to the beginning of "the" hunk (staging a
region may add or remove a hunk), but that can be very far away from
where point previously was.
It might be better to jump to "the next line which still exists",
but it would be rather complicated to figure out what line that is.
|
|
* create diff and revision buffers using section inserters
* remove various options which control what is inserted into
diff and revision buffers
* add `--stat' diff popups when appropriate
* add option `magit-revision-show-gravatars'
|
|
|
|
|
|
Instead add add `magit-insert-xref-buttons' to
`magit-diff-sections-hook' and `magit-revision-sections-hook'.
This function was previously named `magit-xref-insert-buttons',
but since it now used as a user-visible section inserter, it is
renamed to match the convention used when naming such functions.
|
|
Instead of inserting the diff directly in `magit-diff-refresh-buffer',
just run the new hook `magit-diff-sections-hook', which for now has
just one member, the new function `magit-insert-diff'.
This is mostly done for consistency with how other buffers are created.
|
|
Instead of avoiding to call git more than absolutely necessary, use
several separate section inserter functions which can be reordered,
removed or extended using the new `magit-revision-sections-hook'.
This simplifies parsing, makes this more customizable, and prepares
for faster, asynchronously created diffs.
|
|
Call `magit-revision-insert-related-refs' earlier in
`magit-diff-wash-revision', placing them right after the metadata which
was inserted by `git show' and format them the same way, instead of like
diffstats. Also no longer group these lines inside a separate section,
and forgo inserting the redundant information previously used as the
heading of that section.
|
|
* add new option `magit-bury-buffer-function'
* add new function `magit-mode-quit-window'
|
|
Add new function `magit-mode-quit-window' as an alternative to
`magit-restore-window-configuration'.
Restoring the previous window configuration often is not
desirable as it would be better to keep windows and buffers created
or visited later. Also the point is stored in window configurations
and restoring that is often very undesirable.
|
|
This replaces `magit-restore-window-configuration' and allows having
more than one implementation of a magit-specific bury function.
|
|
* new command `magit-checkout-file'
|
|
Re: #2184
|
|
|
|
Add new function `magit-rebase-interactive-1' and implement
all interactive rebase commands using this function.
Declare all interactive rebase commands to be intended for
interactive use only (in the Emacs sense).
|
|
Re #2163.
|
|
|
|
|
|
`magit-mode-get-buffer' can derive the name of the variable whose value
is the buffer-name format string to be used based on the MODE argument.
Some callers already make use of this and pass nil as FORMAT, but many
others did not do so until now.
Deriving the name of the variable from the name of the mode is fairly
cheap so it is okay to do so, especially because nor specifying the
format variable explicitly makes many callers cleaner. However we
cannot completely remove the FORMAT argument for backward (and possibly
forward) compatibility reasons.
|
|
Return nil if the reflog for WIPREF does not exist to prevent 'git log'
from failing on the unknown revision, resulting in magit-wip-log showing
an empty log.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add new commands `magit-run-gitk-all' and `magit-run-gitk-branches'
which call `gitk' with the respective argument. Existing command
`magit-run-gitk' now always calls `gitk' without any arguments.
|
|
|
|
|
|
|
|
|
|
|
|
|