File: magit-apply.el.html

This library implements commands for applying Git diffs or parts of such a diff. The supported "apply variants" are apply, stage, unstage, discard, and reverse - more than Git itself knows about, at least at the porcelain level.

Defined variables (5)

magit-delete-by-moving-to-trashWhether Magit uses the system’s trash can.
magit-post-stage-hookHook run after staging changes.
magit-post-unstage-hookHook run after unstaging changes.
magit-reverse-atomicallyWhether to reverse changes atomically.
magit-unstage-committedWhether unstaging a committed change reverts it instead.

Defined functions (48)

magit-apply(&rest ARGS)
magit-apply--adjust-hunk-new-start(HUNK)
magit-apply--adjust-hunk-new-starts(HUNKS)
magit-apply--get-diffs(SECTIONS)
magit-apply--ignore-whitespace-p(SELECTION TYPE SCOPE)
magit-apply--section-content(SECTION)
magit-apply-diff(SECTION &rest ARGS)
magit-apply-diffs(SECTIONS &rest ARGS)
magit-apply-hunk(HUNK &rest ARGS)
magit-apply-hunks(HUNKS &rest ARGS)
magit-apply-patch(SECTION:S ARGS PATCH)
magit-apply-region(HUNK &rest ARGS)
magit-call-smerge(FN)
magit-discard()
magit-discard-apply(SECTION:S APPLY)
magit-discard-file(SECTION)
magit-discard-files(SECTIONS)
magit-discard-files--delete(FILES STATUS)
magit-discard-files--discard(SECTIONS NEW-FILES)
magit-discard-files--rename(FILES STATUS)
magit-discard-files--resolve(FILES)
magit-discard-files--resurrect(FILES)
magit-discard-hunk(SECTION)
magit-discard-hunks(SECTIONS)
magit-discard-region(SECTION)
magit-reverse(&rest ARGS)
magit-reverse-apply(SECTION:S APPLY ARGS)
magit-reverse-file(SECTION ARGS)
magit-reverse-files(SECTIONS ARGS)
magit-reverse-hunk(SECTION ARGS)
magit-reverse-hunks(SECTIONS ARGS)
magit-reverse-in-index(&rest ARGS)
magit-reverse-region(SECTION ARGS)
magit-smerge-keep-all()
magit-smerge-keep-base()
magit-smerge-keep-current()
magit-smerge-keep-lower()
magit-smerge-keep-upper()
magit-stage(&optional INTENT)
magit-stage-1(ARG &optional FILES)
magit-stage-files(FILES &optional FORCE)
magit-stage-modified(&optional ALL)
magit-stage-untracked(&optional INTENT)
magit-unstage()
magit-unstage-1(FILES)
magit-unstage-all()
magit-unstage-files(FILES)
magit-unstage-intent(FILES)

Defined faces (0)