Skip to content

Commit

Permalink
fix: give notices when pulling or dirty repository found
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin O'Donnell <kevin@blockchaintp.com>
  • Loading branch information
scealiontach committed Jan 18, 2021
1 parent b3d2c76 commit 71200d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bash/git-check
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ for repo in $(find "$HOME/git/${BASE}${EXTRA}" -mindepth "${DEPTH}" -maxdepth "$
if git::cmd diff "remotes/origin/$branch_name" --quiet >/dev/null 2>&1; then
log::info "Examining $base_name: up to date"
else
log::info "Examining $base_name: pulling"
log::notice "Examining $base_name: pulling"
exec::hide git::cmd pull
fi
else
log::info "Examining $base_name: dirty"
log::notice "Examining $base_name: dirty"
fi
pr_count='.'
if command -v gh >/dev/null; then
Expand Down

0 comments on commit 71200d9

Please sign in to comment.