Package: git-flow Version: 1.7.0-1 Severity: grave Tags: upstream Justification: renders package unusable
Hi, When trying to perform "git flow feature start feature_name", the script fails with a "Bad variable name" error. It seems to come from the fact the path to the directory where I'm working contains space characters (ie : "2 - Developpement") The same repository in another path with no space does not fail. Here is the debug output when performing git flow with DEBUG=yes : + uname -s + readlink -e /usr/lib/git-core/git-flow + dirname /usr/lib/git-core/git-flow + export GITFLOW_DIR=/usr/lib/git-core + [ -f /home/jeremie/.gitflow_export ] + main feature start literallyCanvas + [ 3 -lt 1 ] + . /usr/lib/git-core/gitflow-shFlags + [ -n ] + FLAGS_VERSION=1.0.4pre + FLAGS_TRUE=0 + FLAGS_FALSE=1 + FLAGS_ERROR=2 + uname -s + __FLAGS_UNAME_S=Linux + __FLAGS_EXPR_CMD=expr + FLAGS_EXPR_CMD=expr + FLAGS_GETOPT_CMD=getopt + [ -n ] + [ 0 -eq 0 ] + __FLAGS_USE_BUILTIN=0 + __FLAGS_RESERVED_LIST= ARGC ARGV ERROR FALSE GETOPT_CMD HELP PARENT TRUE + __FLAGS_RESERVED_LIST= ARGC ARGV ERROR FALSE GETOPT_CMD HELP PARENT TRUE VERSION + __FLAGS_GETOPT_VERS_STD=0 + __FLAGS_GETOPT_VERS_ENH=1 + __FLAGS_GETOPT_VERS_BSD=2 + getopt + getopt --version + [ getopt from util-linux 2.20.1 = -- ] + __FLAGS_GETOPT_VERS=1 + __FLAGS_OPTSTR_SHORT=0 + __FLAGS_OPTSTR_LONG=1 + __FLAGS_NULL=~ + __FLAGS_INFO_DEFAULT=default + __FLAGS_INFO_HELP=help + __FLAGS_INFO_SHORT=short + __FLAGS_INFO_TYPE=type + __FLAGS_LEN_SHORT=0 + __FLAGS_LEN_LONG=1 + __FLAGS_TYPE_NONE=0 + __FLAGS_TYPE_BOOLEAN=1 + __FLAGS_TYPE_FLOAT=2 + __FLAGS_TYPE_INTEGER=3 + __FLAGS_TYPE_STRING=4 + set + awk -F= /^FLAGS_/ || /^__FLAGS_/ {print $1} + __flags_constants=FLAGS_ERROR FLAGS_EXPR_CMD FLAGS_FALSE FLAGS_GETOPT_CMD FLAGS_TRUE FLAGS_VERSION __FLAGS_EXPR_CMD __FLAGS_GETOPT_VERS __FLAGS_GETOPT_VERS_BSD __FLAGS_GETOPT_VERS_ENH __FLAGS_GETOPT_VERS_STD __FLAGS_INFO_DEFAULT __FLAGS_INFO_HELP __FLAGS_INFO_SHORT __FLAGS_INFO_TYPE __FLAGS_LEN_LONG __FLAGS_LEN_SHORT __FLAGS_NULL __FLAGS_OPTSTR_LONG __FLAGS_OPTSTR_SHORT __FLAGS_RESERVED_LIST __FLAGS_TYPE_BOOLEAN __FLAGS_TYPE_FLOAT __FLAGS_TYPE_INTEGER __FLAGS_TYPE_NONE __FLAGS_TYPE_STRING __FLAGS_UNAME_S __FLAGS_USE_BUILTIN + [ -z ] + readonly FLAGS_ERROR + [ -z ] + readonly FLAGS_EXPR_CMD + [ -z ] + readonly FLAGS_FALSE + [ -z ] + readonly FLAGS_GETOPT_CMD + [ -z ] + readonly FLAGS_TRUE + [ -z ] + readonly FLAGS_VERSION + [ -z ] + readonly __FLAGS_EXPR_CMD + [ -z ] + readonly __FLAGS_GETOPT_VERS + [ -z ] + readonly __FLAGS_GETOPT_VERS_BSD + [ -z ] + readonly __FLAGS_GETOPT_VERS_ENH + [ -z ] + readonly __FLAGS_GETOPT_VERS_STD + [ -z ] + readonly __FLAGS_INFO_DEFAULT + [ -z ] + readonly __FLAGS_INFO_HELP + [ -z ] + readonly __FLAGS_INFO_SHORT + [ -z ] + readonly __FLAGS_INFO_TYPE + [ -z ] + readonly __FLAGS_LEN_LONG + [ -z ] + readonly __FLAGS_LEN_SHORT + [ -z ] + readonly __FLAGS_NULL + [ -z ] + readonly __FLAGS_OPTSTR_LONG + [ -z ] + readonly __FLAGS_OPTSTR_SHORT + [ -z ] + readonly __FLAGS_RESERVED_LIST + [ -z ] + readonly __FLAGS_TYPE_BOOLEAN + [ -z ] + readonly __FLAGS_TYPE_FLOAT + [ -z ] + readonly __FLAGS_TYPE_INTEGER + [ -z ] + readonly __FLAGS_TYPE_NONE + [ -z ] + readonly __FLAGS_TYPE_STRING + [ -z ] + readonly __FLAGS_UNAME_S + [ -z ] + readonly __FLAGS_USE_BUILTIN + unset __flags_const __flags_constants + __flags_boolNames= + __flags_longNames= + __flags_shortNames= + __flags_definedNames= + __flags_nonegateNames= + __flags_columns= + __flags_opts= + FLAGS_PARENT=git flow + . /usr/lib/git-core/gitflow-common + DEFINE_boolean showcommands false Show actions taken (git commands) + _flags_define 1 showcommands false Show actions taken (git commands) + [ 4 -lt 4 ] + _flags_type_=1 + _flags_name_=showcommands + _flags_default_=false + _flags_help_=Show actions taken (git commands) + _flags_short_=~ + _flags_return_=0 + _flags_removeExclamationName showcommands + _flags_opt_=showcommands + _flags_isNegate showcommands + flags_return=0 + return 0 + echo showcommands + unset _flags_opt_ + return 0 + _flags_usName_=showcommands + _flags_underscoreName showcommands + echo showcommands + tr - _ + _flags_usName_=showcommands + _flags_itemInList showcommands ARGC ARGV ERROR FALSE GETOPT_CMD HELP PARENT TRUE VERSION + _flags_str_=showcommands + shift + _flags_list_= ARGC ARGV ERROR FALSE GETOPT_CMD HELP PARENT TRUE VERSION + flags_return=1 + unset _flags_str_ _flags_list_ + return 1 + [ 1 -eq 0 ] + [ 0 -eq 0 -a 1 -ne 1 -a ~ = ~ ] + [ 0 -eq 0 ] + _flags_itemInList showcommands + _flags_str_=showcommands + shift + _flags_list_= + flags_return=1 + unset _flags_str_ _flags_list_ + return 1 + [ 0 -eq 0 -a ~ != ~ ] + [ 0 -eq 0 ] + _flags_validBool false + _flags_bool_=false + flags_return=0 + unset _flags_bool_ + return 0 + _flags_default_=1 + _flags_isNegate showcommands + flags_return=0 + return 0 + _flags_isNegate_=0 + [ 0 -eq 0 ] + eval FLAGS_showcommands='1' + FLAGS_showcommands=1 + eval __flags_showcommands_type=1 + __flags_showcommands_type=1 + eval __flags_showcommands_default="1" + __flags_showcommands_default=1 + eval __flags_showcommands_help="Show actions taken (git commands)" + __flags_showcommands_help=Show actions taken (git commands) + eval __flags_showcommands_short='~' + __flags_showcommands_short=~ + __flags_shortNames= ~ + _flags_removeExclamationName showcommands + _flags_opt_=showcommands + _flags_isNegate showcommands + flags_return=0 + return 0 + echo showcommands + unset _flags_opt_ + return 0 + __flags_longNames= showcommands + [ 1 -eq 1 -a 0 -eq 0 ] + __flags_boolNames= noshowcommands + __flags_definedNames= showcommands + [ 1 -eq 1 ] + [ 0 -eq 0 ] + __flags_definedNames= showcommands noshowcommands + __flags_definedNames= showcommands noshowcommands showcommands + [ 1 -eq 1 ] + [ 0 -eq 1 ] + flags_return=0 + unset _flags_default_ _flags_help_ _flags_name_ _flags_return_ _flags_short_ _flags_type_ _flags_usName_ + [ 0 -eq 2 ] + return 0 + gitflow_override_flag_boolean showcommands showcommands + local _variable + git config --bool --get gitflow.showcommands + _variable= + unset _variable + return 0 + SUBCOMMAND=feature + shift + [ feature = finish ] + [ feature = delete ] + [ feature = publish ] + [ ! -e /usr/lib/git-core/git-flow-feature ] + . /usr/lib/git-core/git-flow-feature + FLAGS_PARENT=git flow feature + [ -z ] + startswith start - + [ start != start ] + [ -z start ] + SUBACTION=start + shift + contains start _ + local return + return=1 + return 1 + + echo start + tr - _ + SUBACTION=start + type cmd_start + [ start != help ] + [ feature != init ] + initialize + require_git_repo + git rev-parse + require_gitflow_initialized + gitflow_is_initialized + gitflow_has_master_configured + local master + git config --get gitflow.branch.master + master=master + [ master != ] + git_local_branch_exists master + [ -n master ] + git for-each-ref --format=%(refname:short) refs/heads/master + [ -n master ] + gitflow_has_develop_configured + local develop + git config --get gitflow.branch.develop + develop=develop + [ develop != ] + git_local_branch_exists develop + [ -n develop ] + git for-each-ref --format=%(refname:short) refs/heads/develop + [ -n develop ] + git config --get gitflow.branch.master + git config --get gitflow.branch.develop + [ master != develop ] + gitflow_has_prefixes_configured + git config --get gitflow.prefix.feature + git config --get gitflow.prefix.release + git config --get gitflow.prefix.hotfix + git config --get gitflow.prefix.support + git config --get gitflow.prefix.versiontag + gitflow_load_settings + git rev-parse --show-toplevel + export GIT_CURRENT_REPO_DIR=/home/jeremie/Documents/XXX/2 - Developpement/Sources/www/xxx /usr/lib/git-core/git-flow: 295: export: -: bad variable name Thanks a lot Jérémie -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (900, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages git-flow depends on: ii git [git-core] 1:2.1.0-1 git-flow recommends no packages. git-flow suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org