Showing a message about ignoring --config when the current directory already is a git repository.
This commit is contained in:
parent
189ea002e4
commit
28cd477e7e
|
@ -870,8 +870,9 @@ Local_arguments ()
|
|||
|
||||
Local_arguments "${@}"
|
||||
|
||||
if [ -e .git ]
|
||||
if [ -e .git ] && [ -n "${_CONFIG}" ]
|
||||
then
|
||||
Echo_message "Ignoring --config ${_CONFIG}: ${PWD} is already a git repository"
|
||||
_CONFIG=""
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue