From 1c856e195cdeb00d405f859cfb3efa92b1c56d2e Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Tue, 11 Aug 2020 08:20:07 +0200 Subject: [PATCH] trying to get it to work with branches --- .local/bin/dotfiles_gbt_status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/dotfiles_gbt_status.sh b/.local/bin/dotfiles_gbt_status.sh index 16e7bae..b8d94d5 100755 --- a/.local/bin/dotfiles_gbt_status.sh +++ b/.local/bin/dotfiles_gbt_status.sh @@ -16,7 +16,7 @@ case $1 in check_push) result="$(/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME status --short 2> /dev/null)" if [[ -z "$result" ]]; then - result="$(/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME cherry -v origin/master)" + result="$(/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME cherry -v )" if [[ ! -z "$result" ]]; then echo YES fi