Commits on Dec 2, 2016
  1. magit-with-temp-index: inhibit use of the refresh cache

    BODY may contain calls to git that are identical to outside calls
    during the same refresh, but which are expected to return a different
    value due to the sue of a different index.
    Do the same in `magit-sequence-insert-sequence' around the calls to
    `magit-commit-tree' and `magit-commit-worktree'.  This isn't required
    at present, but if other places start calling `magit-commit-tree'
    during a refresh and outside of `magit-with-temp-index', then this
    would become necessary.
    Re #2883.
    tarsius committed Dec 2, 2016
  2. magit-sequence-insert-sequence: fix a broken comparison

    Each rev, not some constant commit, has to be compared with the last
    applied commit.
    Fixes #2877.
    tarsius committed Dec 2, 2016
  3. magit-abbrev-length: handle auto-sized default length

    As of Git 2.11, the default abbreviation size is no longer hardcoded
    as 7 but instead scales with the repository size.
    To determine the default abbreviation size in a way that works under
    the old and new system, use the length of "git rev-parse --short HEAD".
    Unless core.abbrev is set, this will always be at least as large as
    the auto-sized value.  In the cases where HEAD needs to be lengthened
    for an unambiguous id, the size will be larger than the auto-sized
    value, but these situations should be rare and harmless.
    Closes #2880.
    kyleam committed with tarsius Dec 2, 2016
  4. update release notes

    tarsius committed Dec 2, 2016
  5. Fix magit-wip-after-apply-mode lighter typo

    darkfeline committed with kyleam Dec 2, 2016
Commits on Dec 1, 2016
  1. Revert "magit-branch-popup-show-variables: default to nil"

    This reverts commit f9fba53.
    tarsius committed Dec 1, 2016
Commits on Nov 30, 2016
  1. magit-log-read-revs: use magit-list-refnames

    This new behavior is consistent with magit-read-range.
    Closes #2878.
    kyleam committed Nov 30, 2016
Commits on Nov 29, 2016
  1. Make selection overlay have an effect on margin when appropriate

    When a sections children show information in the margin, then
    the selection overlay is also used in their margin.  Until now
    that did not extend to the header-line and final line of their
    parent sections, causing the selection to look like this:
    child------------|-1 minute--
    child------------|-2 minutes-
    Now it looks like this:
    child------------|-1 minute--
    child------------|-2 minutes-
    "|" is the fringe, which may or may not look the same as "-", the
    selection face.
    tarsius committed Nov 29, 2016
  2. Make log margin more flexible and easier to configure

    For each major-mode in whose buffers the log margin is supported add
    an option `magit-*-margin', which can be customized independently of
    the respective options of other modes.  `magit-log-margin-spec' used
    to control some aspects of how the margin looks for all modes.
    Remove the options,           adding options/variable:
    `magit-duration-spec'      -> `magit--age-spec'
    `magit-log-margin-spec'    ~> (all of the below:)
    `magit-log-show-margin'    -> `magit-log-margin'
    `magit-reflog-show-margin' -> `magit-reflog-margin'
                               -> `magit-stashes-margin'
    			   -> `magit-log-select-margin'
                               -> `magit-status-margin'
    `magit-refs-show-margin'   -> `magit-refs-margin'
    For each of the supported major-mode it is now possible to control:
    - whether the margin is shown initially,
    - whether the committer name is shown,
      (though in some modes that would currently just waste space)
    - and how the time is presented.
    Beside showing the age of a commit, it is now also possible to show
    its actual author date.
    Previously the margin ended with a pseudo-fringe, but only in log
    buffers, because that looked worse in other buffers.  Now no such
    pseudo-fringe is used anywhere now, because it is not possible to
    draw it in the area of the window past the end of the buffer.
    tarsius committed Nov 29, 2016
  3. Silence byte-compiler

    tarsius committed Nov 29, 2016
Commits on Nov 28, 2016
  1. magit-find-file-noselect-1: check if default-directory exists

    When magit-find-file and magit-find-file-other-window were introduced,
    the value for the default-directory of the buffer corresponded to the
    default-directory of the buffer from which the magit-find-file*
    command was called.  As of e4ee279 (magit-find-{index,file}-noselect:
    unify, 2016-06-22), default-directory is instead set to the file's
    directory.  The new behavior has the advantage that the
    default-directory is consistent for a file and doesn't depend on the
    arbitrary detail of where the magit-find-file* command was called.
    Also, subsequent commands that are sensitive to default-directory will
    behave the same way for both a buffer visiting a revision and a buffer
    visiting a file in the working tree.
    It does, however, lead to problems if that directory doesn't exist in
    the working tree, as many commands reasonably assume that
    default-directory exists.  For example, calling dired-jump in a
    revision file whose directory doesn't exist in the working tree will
    signal a file-error.  Avoid these issues by using the top-level
    directory if the subdirectory doesn't exist.
    Re: #2704 (comment)
    kyleam committed Nov 28, 2016
Commits on Nov 26, 2016
  1. re-implement support for linking to git documentation from info

    Support for this was removed from `ox-texinfo+.el'.
    Our implementation differs from that old implementation in that it
    patches the `man' link-type instead of the `texinfo' export back-end.
    As a result links have to be changed from, e.g.:
      Also see [[info:gitman#git-diff]].
      Also see [[man#git-diff]].
    Additionally we avoid the stray space that used to appear before the
    period in exported formats.  So we now actually have to write, e.g.:
      Also see [[man#git-diff]]
    The new exporter now inserts the period without a proceeding space.
    Unfortunately it is not possible to tell it to *not* insert a period
    at all when the link does not actually end a sentence.  Fortunately
    there are not many such links in our manuals (and doing this is also
    perfectly in line with texinfo's restrictive formatting of links).
    tarsius committed Nov 26, 2016
Commits on Nov 25, 2016
  1. un-bold a request

    tarsius committed Nov 25, 2016
  2. fix d7784bc

    tarsius committed Nov 25, 2016
Commits on Nov 24, 2016
  1. magit-dispatch-popup-map: new keymap

    Store the keymap used by `magit-dispatch-popup' in a variable, instead
    of recreating it every time the popup is shown.  This allows users to
    edit the keymap and fixes #2870.
    tarsius committed Nov 24, 2016
  2. manual: remove transitional information

    By now "all" users should have updated to v2 or decided that they
    don't want to or cannot do so.  Likewise they should have grown
    accustomed to changes in behavior or have already reverted it.
    tarsius committed Nov 24, 2016