• Jonas Bernoulli's avatar
    Do not merge into wipref when continuing a sequence · a94bc130
    Jonas Bernoulli authored
    Running a command like "git rebase --continue" can result in the user
    being asked to edit a commit message.  When the user confirms the
    message then `with-editor-post-finish-hook' is run. `magit-wip-commit'
    may be a member of that hook.
    
    Trying to commit to the wipref is unsafe when "git rebase" is running.
    It may result in "git rebase" failing because we hold the index.look,
    or committing failing because some child of "git rebase" does so.
    
    Teach `magit-wip-maybe-add-commit-hook', which is responsible for
    adding that function when appropriate, to not do so when the commit
    was initiated by a command that calls a "git" command that does other
    things after creating the commit.
    a94bc130
Name
Last commit
Last update
..
Makefile Loading commit data...
git-commit.el Loading commit data...
git-rebase.el Loading commit data...
magit-apply.el Loading commit data...
magit-autorevert.el Loading commit data...
magit-bisect.el Loading commit data...
magit-blame.el Loading commit data...
magit-bookmark.el Loading commit data...
magit-branch.el Loading commit data...
magit-clone.el Loading commit data...
magit-collab.el Loading commit data...
magit-commit.el Loading commit data...
magit-core.el Loading commit data...
magit-diff.el Loading commit data...
magit-ediff.el Loading commit data...
magit-extras.el Loading commit data...
magit-fetch.el Loading commit data...
magit-files.el Loading commit data...
magit-git.el Loading commit data...
magit-gitignore.el Loading commit data...
magit-imenu.el Loading commit data...
magit-log.el Loading commit data...
magit-margin.el Loading commit data...
magit-merge.el Loading commit data...
magit-mode.el Loading commit data...
magit-notes.el Loading commit data...
magit-obsolete.el Loading commit data...
magit-patch.el Loading commit data...
magit-pkg.el Loading commit data...
magit-process.el Loading commit data...
magit-pull.el Loading commit data...
magit-push.el Loading commit data...
magit-refs.el Loading commit data...
magit-remote.el Loading commit data...
magit-repos.el Loading commit data...
magit-reset.el Loading commit data...
magit-section.el Loading commit data...
magit-sequence.el Loading commit data...
magit-stash.el Loading commit data...
magit-status.el Loading commit data...
magit-submodule.el Loading commit data...
magit-subtree.el Loading commit data...
magit-tag.el Loading commit data...
magit-utils.el Loading commit data...
magit-wip.el Loading commit data...
magit-worktree.el Loading commit data...
magit.el Loading commit data...