File: magit-git.el.html

This library implements wrappers for various Git plumbing commands.

Defined variables (17)

magit--git-w32-path-hackAlist of (EXE . (PATHENTRY)).
magit-cygwin-mount-pointsAlist of (CYGWIN . WIN32) directory names.
magit-get-previous-branch-timeoutMaximum time to spend in ‘magit-get-previous-branch’.
magit-git-debugWhether and how to enable additional debugging of git errors.
magit-git-environmentPrepended to ‘process-environment’ while running git.
magit-git-executableThe Git executable used by Magit on the local host.
magit-git-global-argumentsGlobal Git arguments.
magit-git-output-coding-systemCoding system for receiving output from Git.
magit-list-refs-namespacesList of ref namespaces considered when reading a ref.
magit-list-refs-sortbyHow to sort the ref collection in the prompt.
magit-long-lived-branchesBranch names reserved for use by long lived branches.
magit-main-branch-namesBranch names reserved for use by the primary branch.
magit-overriding-githook-directoryDirectory containing the Git hook scripts used by Magit.
magit-prefer-remote-upstreamWhether to favor remote branches when reading the upstream branch.
magit-ref-namespacesHow refs are formatted for display.
magit-remote-git-executableThe Git executable used by Magit on remote machines.
magit-with-editor-envvarThe environment variable exported by ‘magit-with-editor’.

Defined functions (221)

magit--abbrev-if-hash(OBJ)
magit--abbrev-if-oid(OBJ)
magit--assert-default-directory(&optional NOERROR)
magit--client-message(FORMAT-STRING &rest ARGS)
magit--early-process-lines(PROGRAM &rest ARGS)
magit--file-index-stages(FILE)
magit--get-default-branch(&optional UPDATE)
magit--git-insert(RETURN-ERROR &rest ARGS)
magit--git-wash(WASHER KEEP-ERROR &rest ARGS)
magit--insert-blob-contents(OBJ FILE)
magit--painted-branch-at-point(&optional TYPE)
magit--rev-dereference(REV)
magit--rev-file-name(FILE REV OTHER-REV)
magit--safe-default-directory(&optional FILE)
magit--safe-git-version()
magit--set-default-branch(NEWNAME OLDNAME)
magit--split-range-raw(RANGE)
magit--unnamed-upstream-p(REMOTE MERGE)
magit--valid-upstream-p(REMOTE MERGE)
magit--with-refresh-cache(KEY &rest BODY)
magit--with-safe-default-directory(FILE &rest BODY)
magit--with-temp-process-buffer(&rest BODY)
magit-abbrev-arg(&optional ARG)
magit-anything-modified-p(&optional IGNORE-SUBMODULES &rest FILES)
magit-anything-staged-p(&optional IGNORE-SUBMODULES &rest FILES)
magit-anything-unmerged-p(&rest FILES)
magit-anything-unstaged-p(&optional IGNORE-SUBMODULES &rest FILES)
magit-assume-unchanged-files(&rest ARGS)
magit-bare-repo-p(&optional NOERROR)
magit-binary-files(&rest ARGS)
magit-blob-oid(REV FILE)
magit-blob-p(OBJ)
magit-branch-merged-p(BRANCH &optional TARGET)
magit-branch-p(REV)
magit-branch-set-face(BRANCH)
magit-changed-files(REV-OR-RANGE &optional OTHER-REV)
magit-commit-children(REV &optional ARGS)
magit-commit-oid(REV &optional NOERROR)
magit-commit-p(REV)
magit-commit-parents(REV)
magit-commit-tree(MESSAGE &optional TREE &rest PARENTS)
magit-commit-worktree(MESSAGE &optional ARG &rest OTHER-PARENTS)
magit-config-get-from-cached-list(KEY)
magit-convert-filename-for-git(FILENAME)
magit-debug-git-executable()
magit-decode-git-path(PATH)
magit-expand-git-file-name(FILENAME)
magit-file-at-point(&optional EXPAND ASSERT)
magit-file-ignored-p(FILE)
magit-file-relative-name(&optional FILE TRACKED)
magit-file-status(&rest ARGS)
magit-file-tracked-p(FILE)
magit-format-ref-labels(STRING)
magit-format-refs(FORMAT &rest ARGS)
magit-format-rev-summary(REV)
magit-get(&rest KEYS)
magit-get-@{push}-branch(&optional BRANCH)
magit-get-all(&rest KEYS)
magit-get-boolean(&rest KEYS)
magit-get-current-branch()
magit-get-current-remote(&optional ALLOW-UNNAMED)
magit-get-current-tag(&optional REV WITH-DISTANCE)
magit-get-indirect-upstream-branch(BRANCH &optional FORCE)
magit-get-local-upstream-branch(&optional BRANCH)
magit-get-next-tag(&optional REV WITH-DISTANCE)
magit-get-previous-branch()
magit-get-push-branch(&optional BRANCH VERIFY)
magit-get-push-remote(&optional BRANCH)
magit-get-remote(&optional BRANCH)
magit-get-shortname(REV)
magit-get-some-remote(&optional BRANCH)
magit-get-submodule-name(PATH)
magit-get-tracked(REFNAME)
magit-get-unnamed-upstream(&optional BRANCH)
magit-get-upstream-branch(&optional BRANCH)
magit-get-upstream-ref(&optional BRANCH)
magit-get-upstream-remote(&optional BRANCH ALLOW-UNNAMED)
magit-git-config-p(VARIABLE &optional DEFAULT)
magit-git-dir(&optional PATH)
magit-git-executable()
magit-git-executable-find(COMMAND)
magit-git-exit-code(&rest ARGS)
magit-git-failure(&rest ARGS)
magit-git-false(&rest ARGS)
magit-git-insert(&rest ARGS)
magit-git-items(&rest ARGS)
magit-git-lines(&rest ARGS)
magit-git-output(&rest ARGS)
magit-git-repo-p(DIRECTORY &optional NON-BARE)
magit-git-str(&rest ARGS)
magit-git-string(&rest ARGS)
magit-git-string-ng(&rest ARGS)
magit-git-string-p(&rest ARGS)
magit-git-success(&rest ARGS)
magit-git-true(&rest ARGS)
magit-git-version()
magit-git-version-assert(&optional MINIMAL WHO)
magit-git-version<(N)
magit-git-version>=(N)
magit-git-wash(WASHER &rest ARGS)
magit-gitdir(&optional DIRECTORY)
magit-hash-range(RANGE)
magit-headish()
magit-ignore-submodules-p(&optional RETURN-ARGUMENT)
magit-ignored-files(&rest ARGS)
magit-inside-gitdir-p(&optional NOERROR)
magit-inside-worktree-p(&optional NOERROR)
magit-list-active-notes-refs()
magit-list-branches-pointing-at(REV)
magit-list-containing-branches(&optional REV &rest ARGS)
magit-list-files(&rest ARGS)
magit-list-merged-branches(&optional REV &rest ARGS)
magit-list-publishing-branches(&optional REV)
magit-list-refnames(&optional NAMESPACES INCLUDE-SPECIAL)
magit-list-refs(&optional NAMESPACES FORMAT SORTBY)
magit-list-related-branches(RELATION &optional REV &rest ARGS)
magit-list-remote-branch-names(&optional REMOTE RELATIVE)
magit-list-remote-branches(&optional REMOTE)
magit-list-stashes(&optional FORMAT)
magit-list-unmerged-branches(&optional REV &rest ARGS)
magit-list-untracked-files(&optional FILES)
magit-list-worktrees()
magit-local-branch-p(REV)
magit-main-branch()
magit-merge-commit-p(COMMIT)
magit-modified-files(&optional NOMODULES FILES)
magit-module-at-point(&optional PREDICATE)
magit-module-confirm(VERB &optional PREDICATE)
magit-module-no-worktree-p(MODULE)
magit-module-worktree-p(MODULE)
magit-name-branch(REV &optional LAX)
magit-name-local-branch(REV &optional LAX)
magit-name-remote-branch(REV &optional LAX)
magit-name-tag(REV &optional LAX)
magit-no-commit-p()
magit-object-type(OBJECT)
magit-patch-id(REV)
magit-primary-remote()
magit-process-git-arguments(ARGS &optional ASYNC)
magit-read-branch(PROMPT &optional SECONDARY-DEFAULT)
magit-read-branch-or-commit(PROMPT &optional SECONDARY-DEFAULT EXCLUDE)
magit-read-branch-prefer-other(PROMPT)
magit-read-local-branch(PROMPT &optional SECONDARY-DEFAULT)
magit-read-local-branch-or-commit(PROMPT)
magit-read-local-branch-or-ref(PROMPT &optional SECONDARY-DEFAULT)
magit-read-module-path(PROMPT &optional PREDICATE)
magit-read-other-branch(PROMPT &optional EXCLUDE SECONDARY-DEFAULT)
magit-read-other-branch-or-commit(PROMPT &optional EXCLUDE SECONDARY-DEFAULT)
magit-read-other-branches-or-commits(PROMPT &optional EXCLUDE SECONDARY-DEFAULT)
magit-read-other-local-branch(PROMPT &optional EXCLUDE SECONDARY-DEFAULT)
magit-read-range(PROMPT &optional DEFAULT)
magit-read-range-or-commit(PROMPT &optional SECONDARY-DEFAULT)
magit-read-refspec(PROMPT REMOTE)
magit-read-remote(PROMPT &optional DEFAULT USE-ONLY)
magit-read-remote-branch(PROMPT &optional REMOTE DEFAULT LOCAL-BRANCH REQUIRE-MATCH)
magit-read-remote-or-url(PROMPT &optional DEFAULT)
magit-read-shelved-branch(PROMPT)
magit-read-starting-point(PROMPT &optional BRANCH DEFAULT)
magit-read-stash(PROMPT)
magit-read-tag(PROMPT)
magit-read-upstream-branch(&optional BRANCH PROMPT)
magit-ref-abbrev(REFNAME)
magit-ref-ambiguous-p(REFNAME)
magit-ref-eq(A B)
magit-ref-equal(A B)
magit-ref-exists-p(REF)
magit-ref-fullname(REFNAME)
magit-ref-maybe-qualify(REFNAME &optional PREFIX)
magit-ref-p(REV)
magit-remote-branch-p(REV)
magit-remote-head(REMOTE)
magit-remote-list-branches(REMOTE)
magit-remote-list-refs(REMOTE)
magit-remote-list-tags(REMOTE)
magit-remote-p(STRING)
magit-renamed-files(REVA REVB)
magit-rev-abbrev(REV)
magit-rev-ancestor-p(A B)
magit-rev-author-p(REV)
magit-rev-branch(REV)
magit-rev-diff-count(A B &optional FIRST-PARENT)
magit-rev-eq(A B)
magit-rev-equal(A B)
magit-rev-fixup-target(REV)
magit-rev-format(FORMAT &optional REV ARGS)
magit-rev-hash(ARG1)
magit-rev-head-p(REV)
magit-rev-insert-format(FORMAT &optional REV ARGS)
magit-rev-name(REV &optional PATTERN NOT-ANCHORED)
magit-rev-parse(&rest ARGS)
magit-rev-parse-false(&rest ARGS)
magit-rev-parse-p(&rest ARGS)
magit-rev-parse-safe(&rest ARGS)
magit-rev-parse-true(&rest ARGS)
magit-rev-verify(REV)
magit-rev-verify-commit(REV)
magit-revision-directories(REV)
magit-revision-files(REV)
magit-run-git-hook(GITHOOK &rest ARGS)
magit-set(VALUE &rest KEYS)
magit-set-all(VALUES &rest KEYS)
magit-set-upstream-branch(BRANCH UPSTREAM)
magit-skip-worktree-files(&rest ARGS)
magit-split-branch-name(BRANCH)
magit-split-range(RANGE &optional ABBREV)
magit-staged-files(&optional NOMODULES FILES)
magit-stashed-files(STASH)
magit-symbolic-ref-p(NAME)
magit-tag-p(OBJ)
magit-thingatpt--git-revision(&optional DISALLOW)
magit-toggle-git-debug()
magit-toplevel(&optional DIRECTORY)
magit-tracked-files(&rest ARGS)
magit-unstaged-files(&optional NOMODULES FILES)
magit-untracked-files(&optional ALL FILES &rest ARGS)
magit-update-files(FILES)
magit-update-ref(REF MESSAGE REV)
magit-with-blob(REV FILE &rest BODY)
magit-with-editor(&rest BODY)
magit-with-temp-index(TREE ARG &rest BODY)
magit-with-toplevel(&rest BODY)

Defined faces (0)