Skip to content

Commit 193b9b2

Browse files
committed
Changed message in pushActual in ezk.git
1 parent 08ba5ce commit 193b9b2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

EasyKey.git/ezk-git-functions.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ function mergeChanges () {
8383
behind_count=$(git rev-list --count ${current_branch}..${current_branch}@{upstream})
8484

8585
# Check if the current branch is ahead of the remote branch
86-
if [ $ahead_count -ge 0 ]; then
86+
if [ $ahead_count -eq 0 ]; then
87+
echo "Your current branch '$current_branch' is in sync with origin."
88+
echo "... nothing to merge ..."
89+
elif [ $ahead_count -ge 0 ]; then
8790
echo "Your current branch '$current_branch' is ahead of its remote counterpart by $ahead_count commit(s)."
8891
echo "... nothing to merge ..."
8992
elif [ $behind_count -gt 0 ]; then

0 commit comments

Comments
 (0)