wip
This commit is contained in:
@@ -27,7 +27,7 @@ if [ "$timeout" -gt 0 ]; then
|
|||||||
git fetch origin "$branch"
|
git fetch origin "$branch"
|
||||||
|
|
||||||
# Check if the local branch is behind the remote branch
|
# Check if the local branch is behind the remote branch
|
||||||
LOCAL=$(git rev-parse "@{0}")
|
LOCAL=$(git rev-parse "@{0}")
|
||||||
REMOTE=$(git rev-parse "origin/$branch")
|
REMOTE=$(git rev-parse "origin/$branch")
|
||||||
|
|
||||||
if [ "$LOCAL" != "$REMOTE" ]; then
|
if [ "$LOCAL" != "$REMOTE" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user