mirror of
https://git.ludikovsky.name/git/fugitive.git
synced 2024-05-18 22:45:31 +02:00
bugfix: do not try to git init if there already a git repos (oops ^^)
This commit is contained in:
parent
1f553d2f7c
commit
15b9581220
|
@ -57,10 +57,11 @@ fugitive_install() {
|
||||||
echo "Okay, aborting."
|
echo "Okay, aborting."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
echo -n "Creating new git repository... "
|
||||||
|
git init >/dev/null
|
||||||
|
echo "done."
|
||||||
fi
|
fi
|
||||||
echo -n "Creating new git repository... "
|
|
||||||
git init >/dev/null
|
|
||||||
echo "done."
|
|
||||||
fugitive_install_config "$1"
|
fugitive_install_config "$1"
|
||||||
fugitive_install_hooks "$1"
|
fugitive_install_hooks "$1"
|
||||||
echo -n "Preventing git to track temporary and generated files... "
|
echo -n "Preventing git to track temporary and generated files... "
|
||||||
|
|
Loading…
Reference in a new issue