Skip to content

Commit

Permalink
kiss: cleanup update messages
Browse files Browse the repository at this point in the history
FossilOrigin-Name: c8b96f7c9a3d093dbf700caffdcad2eca4ee75b6acf2d8bb7e7ce9226f6febed
  • Loading branch information
dylanaraps committed Feb 6, 2020
1 parent 163d12e commit 7d7b317
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions kiss
Expand Up @@ -1047,9 +1047,8 @@ pkg_updates() {
# Update each repository in '$KISS_PATH'. It is assumed that
# each repository is 'git' tracked.
for repo; do
cd "$repo"

# Go to the root of the repository (if it exists).
cd "$repo"
cd "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null ||:

[ -d .git ] || {
Expand All @@ -1070,7 +1069,7 @@ pkg_updates() {
# Display a tick if signing is enabled for this
# repository.
case $(git config merge.verifySignatures) in
true) log "$PWD" "[[32;1msigned ✓[m] " ;;
true) log "$PWD" "[signed ✓] " ;;
*) log "$PWD" " " ;;
esac

Expand Down

0 comments on commit 7d7b317

Please sign in to comment.