#!/usr/bin/env bash

set -e
set -x
shopt -s dotglob

readonly name="DoubleConversion"
readonly ownership="Google double-conversion Maintainers <floitsch@google.com>"
readonly subtree="Modules/ThirdParty/DoubleConversion/src/double-conversion"
readonly repo="https://github.com/google/double-conversion"
readonly tag="master"
readonly paths="
double-conversion/*.h
double-conversion/*.cc
"


extract_source () {
    git_archive
    pushd "${extractdir}/${name}-reduced"
    mv double-conversion/* .
    rmdir double-conversion
    echo "* -whitespace" >> .gitattributes
    popd
}

. "${BASH_SOURCE%/*}/../../../Utilities/Maintenance/update-third-party.bash"

#!/usr/bin/env bash

set -e
set -x
shopt -s dotglob

readonly name="DoubleConversion"
readonly ownership="Google double-conversion Maintainers <floitsch@google.com>"
readonly subtree="Modules/ThirdParty/DoubleConversion/src/double-conversion"
readonly repo="https://github.com/google/double-conversion"
readonly tag="0d3733a4168dd739f45cef8a55718f8b02ee3073"
readonly paths="
double-conversion/*.h
double-conversion/*.cc
"


extract_source () {
    git_archive
    pushd "${extractdir}/${name}-reduced"
    mv double-conversion/* .
    rmdir double-conversion
    echo "* -whitespace" >> .gitattributes
    popd
}

. "${BASH_SOURCE%/*}/../../../Utilities/Maintenance/update-third-party.bash"

Update double-conversion import script to record prior import
ENH: Update double-conversion import script to record prior import

In commit ee51ee18e65 (ENH: Update Double-convert third-party,
2020-12-26, v5.2rc01~19) the double-conversion code was updated
directly in our tree instead of merging an upstream vendor branch.
Record the version whose content was imported.
