Commits on Jul 20, 2016
  1. @Wilfred

    Use higher contrast for magit-blame with dark themes.

    Currently, magit uses black text for both light and dark themes. For
    dark themes, this means there's very little contrast and commit messages
    are hard to read.
    
    Instead, use a constrasting color for dark themes.
    Wilfred committed Jul 20, 2016
Commits on Jul 13, 2016
  1. @npostavs
  2. @npostavs

    magit-popup-{save,set}-default-arguments: don't use when useless

    Some popups, e.g. branch config, don't have any arguments (i.e. switches
    or options), so there is nothing to save.  Trigger informative
    user-error instead of trying to set nil.
    npostavs committed Jul 1, 2016
Commits on Jul 10, 2016
  1. @kyleam

    Remove stale function declarations

    The first stale for each commit is listed.
    
    magit-blame-chunk-get     6f96ff2
    magit-call-git            f330168
    magit-find-file-noselect  023a163
    magit-insert-tags-header  038b7f7
    magit-local-branch-p      2dc55af
    message-goto-body         eb24641
    kyleam committed Jul 10, 2016
Commits on Jul 7, 2016
  1. @npostavs
  2. @npostavs
  3. @npostavs

    magit-ediff-stage: use same encoding for all texts

    When using ediff to stage, the working tree file is visited by Emacs in
    the normal way, so Emacs applies normal encoding detection on it.  We
    must apply the same encoding to the output of `git cat-file' (used by
    magit-find-file-{,index}-noselect) so that ediff can apply diffs
    sensibly.
    
    When writing back the changes back to git (via magit-update-index), we
    have to use the same encoding to write as the one used to read, or else
    we may end up changing the file recorded in git in a completely
    unintended way.
    npostavs committed Jun 18, 2016
  4. @npostavs

    magit-revert-rev-file-buffer: for revert-buffer

    Set revert-buffer-function to this function, so that reverting commands
    work in buffers opened by magit-find-file-noselect-1.
    npostavs committed Jun 22, 2016
  5. @npostavs

    magit-find-{index,file}-noselect: unify

    Put common parts into magit-find-file-noselect-1.  Set the
    default-directory according to the file being visited.
    npostavs committed Jun 22, 2016
Commits on Jul 4, 2016
  1. @kyleam
  2. @npostavs

    magit-git-exectuable: don't require .exe in path

    The user may have installed a bat file wrapper for git, which will not
    get found if we look for git.exe explicitly.
    
    Fixes #2711.
    npostavs committed Jul 4, 2016
Commits on Jun 29, 2016
  1. @swflint
Commits on Jun 25, 2016
  1. @kyleam
Commits on Jun 24, 2016
  1. @madand @npostavs
Commits on Jun 19, 2016
  1. @kyleam

    require magit in more log and diff commands

    Follow up on 5fb3059 (require magit in log and diff commands,
    2016-01-13) to catch remaining cases where an autoloaded diff or log
    command fails if it is called before magit.el is loaded.
    
    Fixes #2702.
    kyleam committed Jun 19, 2016
Commits on Jun 14, 2016
  1. @kyleam @tarsius

    magit-branch-{,config-}popup-setup: restore M-r/M-p

    Restore code that is necessary for multi-key bindings (currently M-r and
    M-p).  This code was removed in 75abae8 (magit-branch-popup-setup:
    remove unnecessary function, 2016-05-12).
    
    Fixes #2695.
    kyleam committed with tarsius Jun 12, 2016
Commits on Jun 13, 2016
  1. @kyleam
Commits on Jun 12, 2016
  1. @tarsius
Commits on Jun 11, 2016
  1. @kyleam
Commits on Jun 10, 2016
  1. @tarsius @kyleam

    allow magit-repository-directories to specify depth per element

    An element can now be a cons-cell whose cdr is the depth.  For elements
    that are strings the value of `magit-repository-directories-depth' is
    still used.
    tarsius committed with kyleam Jun 10, 2016
  2. @kyleam

    allow magit-repository-directories to be directory names

    Adjust downstream processing of magit-repository-directories to let an
    element of magit-repository-directories be a directory name (that is,
    end in a slash) rather than a directory file name.  This prevents an
    alist with empty strings for all keys from being passed to
    magit-list-repos-uniquify, in which case the function believes that all
    repos should be uniquified.
    kyleam committed Jun 9, 2016
  3. @kyleam
Commits on Jun 9, 2016
  1. @tarsius
  2. @npostavs @tarsius
  3. @tarsius
  4. @tarsius

    magit-branch-orphan: new command

    Re #2030.
    tarsius committed Jun 10, 2016
  5. @npostavs @tarsius

    magit-submodule-setup: only setup uninitialized

    Otherwise, existing submodules may become detached.
    npostavs committed with tarsius May 29, 2016
  6. @tarsius

    magit-submodule-add: allow any path, read url before path

    The old implementation was optimized for an odd special-case and did
    not work in the normal case because it was only possible to select an
    existing path.
    
    Read the url before the path because the former is the only mandatory
    argument.
    
    Force the use of `read-file-name-default' because `ido-read-file-name'
    behaves strangely (the users choice is ignored the first time and s/he
    is prompted again, this time with a different initial input).
    tarsius committed Jun 9, 2016
  7. @tarsius

    move code from magit-submodule-add to magit-stage-untracked

    The moved code is only useful when re-adding a submodule, which should
    be done using `magit-stage', which then calls `magit-stage-untracked'.
    tarsius committed Jun 9, 2016
  8. @tarsius

    magit-submodule-read-name: offer basename as next candidate

    In Git, if the name is not specified explicitly, then the relative name
    to the submodule is used as its name.  So we offer that as default too.
    But a user might want to only use the basename, so we offer that as the
    "next history element".
    tarsius committed Jun 9, 2016
  9. @tarsius

    magit-submodule-read-name: make PATH relative before use

    Also strip a possible trailing slash before first use.
    tarsius committed Jun 9, 2016
  10. @tarsius
  11. @tarsius

    Revert "magit-get{,-all,-boolean}: improve cache"

    This reverts commit c3d55c8.
    tarsius committed Jun 9, 2016
  12. @tarsius

    Revert "magit-config-slurp: handle empty value config vars"

    This reverts commit 6c305d4.
    tarsius committed Jun 9, 2016
Commits on Jun 6, 2016
  1. @marsam