+ progname=./convert-archive + package=gettext-tools + version=0.18.1 + test 4 = 2 + test 4 = 3 + test 4 = 4 + case "$1" in + true + case "$2" in + true + from=dir + to=git + fromfile= + test -n '' ++ pwd + fromfile=/var/tmp/portage/sys-devel/gettext-0.18.1.1-r2/work/gettext-0.18.1.1/gettext-tools/misc/archive.dir.tar.gz + tofile=archive.git.tar.gz + test -n archive.git.tar.gz ++ pwd + unpacked=/var/tmp/portage/sys-devel/gettext-0.18.1.1-r2/work/gettext-0.18.1.1/gettext-tools/misc/unpacked-files + mkdir /var/tmp/portage/sys-devel/gettext-0.18.1.1-r2/work/gettext-0.18.1.1/gettext-tools/misc/unpacked-files + case "$from" in + gzip -d -c + cd /var/tmp/portage/sys-devel/gettext-0.18.1.1-r2/work/gettext-0.18.1.1/gettext-tools/misc/unpacked-files + tar xf - + existing_file=gettext-0.10.35/ABOUT-NLS + TAR=tar + TAR_OPTIONS= + for prog in tar gnutar gtar + TAR=tar + TAR_OPTIONS='--owner=root --group=root' + break + case "$to" in ++ pwd + git_dir=/var/tmp/portage/sys-devel/gettext-0.18.1.1-r2/work/gettext-0.18.1.1/gettext-tools/misc/tmpgit4035 + mkdir /var/tmp/portage/sys-devel/gettext-0.18.1.1-r2/work/gettext-0.18.1.1/gettext-tools/misc/tmpgit4035 + unset GIT_CONFIG + cd /var/tmp/portage/sys-devel/gettext-0.18.1.1-r2/work/gettext-0.18.1.1/gettext-tools/misc/tmpgit4035 + git init -q + git config user.name 'GNU Gettext Build' usage: git config [options] Config file location --global use global config file --system use system config file --local use repository config file -f, --file use given config file Action --get get value: name [value-regex] --get-all get all values: key [value-regex] --get-regexp get values for regexp: name-regex [value-regex] --replace-all replace all matching variables: name value [value_regex] --add adds a new variable: name value --unset removes a variable: name [value-regex] --unset-all removes all matches: name [value-regex] --rename-section rename section: old-name new-name --remove-section remove a section: name -l, --list list all -e, --edit opens an editor --get-color find the color configured: [default] --get-colorbool find the color setting: [stdout-is-tty] Type --bool value is "true" or "false" --int value is decimal number --bool-or-int value is --bool or --int --path value is a path (file or directory name) Other -z, --null terminate values with NUL byte + git config user.email bug-gnu-gettext@gnu.org + touch .gitignore + git add . + git commit '--author=Bruno Haible ' '--message=Empty directory' fatal: No existing author found with 'Bruno' + git tag empty fatal: Failed to resolve 'HEAD' as a valid ref. + func_fatal_error 'git init failed' + echo 'convert-archive: *** git init failed' convert-archive: *** git init failed + echo 'convert-archive: *** Stop.' convert-archive: *** Stop. + exit 1