magit-diff-highlight-whitespace: use lazy match
Lazy match should be used to find trailing spaces.
Merge pull request #1373 from shigi/trailing-spaces

magit-diff-highlight-whitespace: use lazy match
magit-git-executable: except on windows, use just the name

Since f0186c88732e543d9487082405685fa0a2688b70 `magit-git-executable'
was set to the full path to the executable, which becomes problematic
when connecting to a remote repository using Tramp and the executable
is not installed in the identical location on that system.

On Windows keep using the full path, because here multiple "git.***"
are installed and it makes a big difference which is used.  I would
much rather have a handful of Windows users report that they cannot
use Magit remotely than to have many more users complain that "Magit
is nice, but soooooooo slow on Windows".

We could use different variable for local and tramp Git, I suppose.
But the proper way of testing that is `file-remote-p', and that is
to expensive to run over and over again.  And I don't like caching.
deal with yet another way Emacs can be installed on OS X
fix 973a5ab06a55e0b8779be91968d32a92851b6f68
magit-svn-find-rev: fix issue #1404

`magit-show-commit' expects a string not a section.
try harder to locate a suitable emacsclient executable

Improve how the default value of `magit-emacsclient-executable' is
determined.  If we fail to do so, show a warning.

We determine whether an emacsclient executable is compatible with the
current Emacs instance by comparing its version with `emacs-version'.
The versions don't have to match exactly, but at least the major part
has to do so.

This commit changes how an executable's version is determined.
Previously we simply used the version suffix of the executable.
Unfortunately when Emacs is installed manually, then the emacsclient
executable usually does not have a version suffix, and so we did fall
back to the suffix-less executable which comes first on `exec-path',
which is a lottery.

Now we use `emacsclient --version' to determine the version, and the
order in which version-suffix-less emacsclient executable appear on
the `exec-path' therefor no longer matters.
Merge branch 'locate-emacsclient'
fix last commit
magit-locate-emacsclient: quote value

Also remove an unused variable.
AUTHORS.md: update list of contributors
magit-insert-stashes: work around issue in Git <1.7.10.3

Closes issue #1427.
magit-ediff: correct doc-string

The range is passed directly to `git diff' which, when given
a single commit, compares the working tree with that commit.
magit-commit-add-log: properly abort if nothing is committed

See #1438.
magit-push-tags: respect popup arguments
magit-rev-parse: accept any numbers of arguments

On the next branch this was done several months ago.  The callers where
then adjusted to take advantage of the new flexibility.  Here we only
change this function itself.  We do so to make the Org-Magit package
compatible with Magit's master branch again, see magit/org-magit#1.
magit-locate-emacsclient: deal with invocation-directory being nil

See #1443.
bind j instead of M-g to magit-jump-to-diffstats

Do so in the two relevant keymaps `magit-commit-mode-map' and
`magit-diff-mode-map'.  In other maps `j' is bound to the related
`magit-section-jump-map'.
magit.el: explicitly set coding system to utf-8

Unlike the other libraries `magit.el' contains some non-ascii
characters.  Usually Emacs used utf-8 if nothing else is specified
but for some language environments this does not seem to be the case.
magit-mode-refresh-buffer: don't fiddle with window point

See #1451.