| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function git_isVersioned { |
| |
| |
| |
| |
| local LOCATION=$(cli_checkRepoDirSource "${1}") |
| |
| |
| |
| local OUTPUT=$(${COMMAND} status --porcelain ${LOCATION} \ |
| | egrep "\?\? ${LOCATION}") |
| |
| |
| |
| |
| if [[ ! -z ${OUTPUT} ]];then |
| cli_printMessage "${LOCATION} `gettext " contains untracked files."`" --as-error-line |
| fi |
| |
| } |