Skip to content

Commit 7a9d73b

Browse files
committed
!dropme
1 parent a021d15 commit 7a9d73b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codee/merge-upstream.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ if [ "$(_git status --porcelain)" != "" ]; then
104104
fi
105105

106106
# In the first stage, sync up the remote branch
107-
if ! _git describe "${MERGE_WITH}" &>/dev/null; then
107+
if ! _git rev-parse --verify --quiet "${MERGE_WITH}" &>/dev/null; then
108108
_error "there is no upstream to merge with ('${MERGE_WITH}'). You can add it
109109
with:
110110

0 commit comments

Comments
 (0)