Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ci/common/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ require_environment_variable BUILD_DIR "${BASH_SOURCE[0]}" ${LINENO}
CI_TARGET=${CI_TARGET:-$(basename "${0%.sh}")}
GIT_NAME=${GIT_NAME:-marvim}
GIT_EMAIL=${GIT_EMAIL:[email protected]}
DOC_DIR=${DOC_DIR:-${BUILD_DIR}/build/doc}
DOC_REPO=${DOC_REPO:-neovim/doc}
DOC_BRANCH=${DOC_BRANCH:-gh-pages}

git_truncate() {
local branch="${1}"
Expand Down
4 changes: 0 additions & 4 deletions ci/truncate-history.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ source "$BUILD_DIR/ci/common/common.sh"

require_environment_variable BUILD_DIR "${BASH_SOURCE[0]}" ${LINENO}

DOC_DIR=${DOC_DIR:-${BUILD_DIR}/build/doc}
DOC_REPO=${DOC_REPO:-neovim/doc}
DOC_BRANCH=${DOC_BRANCH:-gh-pages}

# Trim the https://github.com/neovim/doc/ repository history, else it gets huge
# and slow to clone. We don't care about the history of the `gh-pages` branch.
try_truncate_history() {
Expand Down