magit-show-xref-buttons: fix typo in doc-string
magit-checkout-branch-at-point: remove unnecessary function

Instead add a `branch' case to `magit-visit-item'.
magit-insert-rebase-sequence: new function

I intend to further improve this.
magit-insert-unpulled-or-recent-commits: new function

Do not add it to the default value of `magit-status-sections-hook',
as I intend to make bigger changes to this and other log sections.
Revert "magit-wash-raw-diff: never delay parsing hunks"

This reverts commit d976c0dc5b30dd761d2df657c8c9095656c036d7.
rename magit{ => -section}-region-siblings
magit-section-region-siblings: make more reliable
magit-apply-hunk-item: abort on attempt to apply combined diff hunk

Previously this was done in `magit-stage-item' before calling
this function.  But since we are eventually going to support
staging from other contexts too, it is better to do this here.
magit-section-siblings: cosmetics
magit-{stage,unstage,discard}-item: remove dead mystery code

These functions use `magit-section-action' and mostly identical clauses
that try the section context against `(diff diff)' and `(diff diff hunk)'.
This is wrong there exists no section type for which instances can be
the child of a section an instance of the same type.

We use symbols to uniquely identify section types, and a long time ago
someone made the mistake to use the same symbol to identify two distinct
types.  I have fixed that by using `diffbuf' to identify the outer
section some time ago, but I did not notice that kludges had been added
to work around this error.  I am removing them now.
magit-section-action: dumb down message about unsupported section

Previously we attempted to include information about the type of the
section which does not support a particular action in the warning
message.  As identifier the value of `magit-section-type', a symbol, was
used.  If the `magit-description' property was set for that symbol, then
that was used.  However there was not a single symbol for which this was
the case.  Even if we did set such a description for all relevant
symbols, that wouldn't do us much good.  Many sections are only properly
identified using a vector.  Since vectors aren't symbols, they don't
have symbol properties...
stgit: Show ref decorations
stgit: Show diffstat in patches if 'magit-show-diffstat' is enabled
Merge pull request #1169 from llvilanova/stgit-decorate

stgit: Show ref decorations
stgit: Set check optional args with 'and' instead of 'with'
magit-highlight-section: fix doc-string
Merge pull request #1170 from llvilanova/stgit-diffstat

stgit: Show diffstat in patches if 'magit-show-diffstat' is enabled
magit-section-match-1: rename from magit-prefix-p

This function is not generally useful, it is intended for
use by `magit-section-match' only.  Rename it accordingly.
magit-section-{action,case,match,match-1}: remove doc-strings

These removals are only temporary.  The old doc-strings will be
replaced with better ones once the upcoming refactoring is over.
magit-section-match: support CONDITION being an atom