don't error out silently on git rev-parse
This commit is contained in:
parent
c6c851b645
commit
6887884127
2
kiss
2
kiss
|
@ -1577,7 +1577,7 @@ pkg_update() {
|
||||||
|
|
||||||
# Update each repository in '$KISS_PATH'.
|
# Update each repository in '$KISS_PATH'.
|
||||||
for repo do
|
for repo do
|
||||||
if git -C "$repo" rev-parse 'HEAD@{upstream}' >/dev/null 2>&1; then
|
if git -C "$repo" rev-parse 'HEAD@{upstream}' >/dev/null; then
|
||||||
repo_type=git
|
repo_type=git
|
||||||
|
|
||||||
# Get the Git repository root directory.
|
# Get the Git repository root directory.
|
||||||
|
|
Loading…
Reference in New Issue