• Jonas Bernoulli's avatar
    git-commit-post-finish-hook: Don't run for unsafe commands · af4bf8df
    Jonas Bernoulli authored
    When a command like "git rebase --continue" used `EDITOR' to have the
    user provide a commit message and created a commit with the message it
    received that way, then it goes on doing other things that may need to
    lock the index.
    
    We therefore cannot run `git-commit-post-finish-hook' after the commit
    was created because otherwise there would be a race condition between
    the subprocesses of "git rebase" and whatever git commands the hook
    calls.  Blacklist commands known to keep going after committing.
    
    This was previously done in `magit-wip-maybe-add-commit-hook', but we
    need to prevent all of `git-commit-post-finish-hook' to be inhibited.
    af4bf8df
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...