@@ -40,11 +40,6 @@ die::
usage::
die with the usage message.
-git_editor::
- runs an editor of user's choice (GIT_EDITOR, core.editor, VISUAL or
- EDITOR) on a given file, but error out if no editor is specified
- and the terminal is dumb.
-
is_bare_repository::
outputs `true` or `false` to the standard output stream
to indicate if the repository is a bare repository
@@ -106,15 +106,6 @@ $LONG_USAGE")"
esac
fi
-git_editor() {
- if test -z "${GIT_EDITOR:+set}"
- then
- GIT_EDITOR="$(git var GIT_EDITOR)" || return $?
- fi
-
- eval "$GIT_EDITOR" '"$@"'
-}
-
git_pager() {
if test -t 1
then
Remove the git_editor() function last referenced in 49eb8d39c78 (Remove contrib/examples/*, 2018-03-25). Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> --- Documentation/git-sh-setup.txt | 5 ----- git-sh-setup.sh | 9 --------- 2 files changed, 14 deletions(-)