diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-03-08 16:02:57 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-03-08 16:02:57 +0900 |
| commit | fb8c9e4eeb062a99f3b7232433c4ba8bb0917ea5 (patch) | |
| tree | 3726df22cd237ad627ab99f6dc96886bc32fedd1 /ar/.local/bin/statusbar/sb-repos | |
| parent | af60476d30fb0003963ee10d0b53869f89c72f89 (diff) | |
updates
Diffstat (limited to 'ar/.local/bin/statusbar/sb-repos')
| -rwxr-xr-x | ar/.local/bin/statusbar/sb-repos | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ar/.local/bin/statusbar/sb-repos b/ar/.local/bin/statusbar/sb-repos index 1dad9f1..2b936c7 100755 --- a/ar/.local/bin/statusbar/sb-repos +++ b/ar/.local/bin/statusbar/sb-repos @@ -1,6 +1,6 @@ #!/bin/bash -pidof transmission-daemon >/dev/null && exit 1 +pidof transmission-daemon >/dev/null && exit # Directories containing Git repositories DOTFILES_REPOS="$HOME/.dotfiles" @@ -35,7 +35,7 @@ get_git_status_symbols() { get_unpushed_commits() { git cherry -v 2>/dev/null | wc -l; } # Function to check for unpulled commits -get_unpulled_commits() { git rev-list --count HEAD..@{upstream} 2>/dev/null; } +get_unpulled_commits() { git rev-list --count HEAD..@{upstream}; } # Function to check Git repository status for multiple repos check_multi_repo_status() { |
